Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

java.lang.OutOfMemoryError: Java heap space

      ³öÏÖÕâ¸ö´íÎó£¬ËÑË÷µ½1¡¢ÐÞ¸Äeclipse.ini£»2¡¢Ìí¼Ó»·¾³±äÁ¿JAVA_OPTS=-Xms64m -Xmx512m£¬3¡¢ÔÚrun configurations->program argumentsÔö¼ÓXms64m -Xmx512m£¬¾ùÎÞЧ¡£
×îºó½â¾ö°ì·¨£¬ÔÚÓëprogram argumentsһǽ֮¸ôµÄVM argumentsÖÐÌí¼ÓXms64m -Xmx512m¸ã¶¨¡£


Ïà¹ØÎĵµ£º

JavaͼÐνçÃæ±à³Ì×ܽá

1. ²¼¾Ö¹ÜÀíÆ÷
ÈÝÆ÷Àï×é¼þµÄ´óСºÍλÖÃÊÇÓɲ¼¾Ö¹ÜÀíÆ÷À´¾ö¶¨µÄ¡£ÈÝÆ÷¶Ô²¼¾Ö¹ÜÀíÆ÷µÄÌض¨ÊµÀý±£³ÖÒ»¸öÒýÓ㬵±ÈÝÆ÷ÐèÒª¶¨Î»Ò»¸ö×é¼þʱ£¬Ëü½«µ÷Óò¼¾Ö¹ÜÀíÆ÷À´Íê³É£¬¾ö¶¨Ò»¸ö×é¼þµÄ´óСʱҲÊÇÈç´Ë¡£
 
ÔÚawtÖÐÓÐÎåÖÖ²¼¾Ö¹ÜÀíÆ÷
BorderLayOut
FlowLayOut
GridLayOut
GardLayOut
GridBagLayOut
 
1. & ......

EclipseʹÓÃActiveX¿Ø¼þ£¨OCX£©¿ª·¢Java³ÌÐò

    ±¾·¶ÀýÒÔʹÓÃÀ´µçÏÔʾActiveX¿Ø¼þJDComport.ocxΪÀý£¬ËµÃ÷ÔõÑùÔÚJavaÖм¯³ÉActiveX¿Ø¼þ¡£
1¡¢¿ª·¢»·¾³£ºEclipse£¨JavaÖ÷Á÷¿ª·¢¹¤¾ß£©
   £¨1£©ÐèÒªÓõ½SWT¡¢Visual Editor²å¼þ£»
   £¨2£©EclipseÈí¼þ¼°ÆäÏà¹Ø²å¼þ¿Éµ½ http://www.eclipse.org/downloads/ ÏÂÔØ¡£
2¡¢ÐèÒªÓõ½JDC ......

JavaÓïÑÔµÄÌصã(2)

4£® ¸ßÐÔÄÜ
¡¡¡¡ËäÈ»javaÊǽâÊÍÖ´Ðеģ¬µ«ËüÈÔÈ»¾ßÓзdz£¸ßµÄÐÔÄÜ£¬ÔÚһЩÌض¨µÄCPUÉÏ£¬java×Ö½ÚÂë¿ÉÒÔ¿ìËÙµÄת»»³ÉΪ»úÆ÷Âë½øÐÐÖ´ÐС£¶øÇÒjava×Ö½ÚÂë¸ñʽµÄÉè¼Æ¾ÍÊÇÕë¶Ô»úÆ÷ÂëµÄת»»£¬Êµ¼Êת»»Ê±Ï൱¼ò±ã£¬×Ô¶¯µÄ¼Ä´æÆ÷·ÖÅäÓë±àÒëÆ÷¶Ô×Ö½ÚÂëµÄһЩÓÅ»¯¿Éʹ֮Éú³É¸ßÖÊÁ¿µÄ´úÂë¡£Ëæ×ÅjavaÐéÄâ»úµÄ¸Ä½øºÍ"¼´Ê±±àÒë"£¨just in ......

ת javaÉú³ÉexeÎļþ

ת javaÉú³ÉexeÎļþ
ÎÄÕ·ÖÀà:Java±à³Ì
¶ÔÓÚ×÷Java×ÀÃæÓ¦ÓÃÀ´Ëµ£¬±È½Ï·³È˵ľÍÊÇ°²×°²¿ÊðÎÊÌ⣬¿Í»§¶ËÊÇ·ñ°²×°ÓÐjre¡¢jre°æ±¾ÎÊÌâ¡¢jreÈ¥ÄÄÏÂÔØ¡¢ÈçºÎÓÃjreÆô¶¯ÄãµÄJavaÓ¦Ó㿲»ÒªËµ¸Õ½Ó´¥µçÄÔµÄÈË£¬¾ÍËãÊDZȽÏÊìϤµçÄÔ£¬Èç¹ûûÓнӴ¥¹ýJava,Ãæ¶ÔÒ»¸öJavaÓ¦Óã¬ÈçºÎÔÚWindowsÏÂÆô¶¯Ëü£¬¹À¼Æ¶¼»áÕÛÌÚ°ëÌì¡£Èç¹û²»ÊÇÒòΪÕ⸠......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ