Flex Compile Error: Error: Java heap space
ÓÉÓÚFlex Builder compiler shellÓÐmemory leakµÄÎÊÌ⣬ ¶øSDKĬÈÏµÄµÄ JVM heap size Ö»ÓÐ312M£¬µ±compile±È½Ï´óµÄprojectÈÝÒײ»¹»£¬ËùÒÔÖ»ÒªÐÞ¸ÄSDKµÄJVM²ÎÊý¾Í¿ÉÒÔ¡£
±à¼ {Flex SDK}/bin/jvm.config ÎļþÈçÏ¡£
java.args=-Xmx512m ...
Èç¹û»¹ÊÇÓÐError£¬¿ÉÒÔÔö¼Óµ½1024»òÕ߸ü¶à¡£
Ïà¹ØÎĵµ£º
java -cp .;c:\dir1\lib.jar Test
-cp ºÍ -classpath Ò»Ñù£¬ÊÇÖ¸¶¨ÀàÔËÐÐËùÒÀÀµÆäËûÀàµÄ·¾¶£¬Í¨³£ÊÇÀà¿â£¬jar°üÖ®À࣬ÐèҪȫ·¾¶µ½jar°ü£¬windowÉϷֺœ;”
·Ö¸ô£¬linuxÉÏÊǷֺœ:”·Ö¸ô¡£²»Ö§³ÖͨÅä·û£¬ÐèÒªÁгöËùÓÐjar°ü£¬ÓÃÒ»µã“.”´ú±íµ±Ç°Â·¾¶¡£
ËäÈ»ÏÖÔÚ¶¼ÓÐeclipseÖ®ÀàµÄIDE ......
´ó¼Ò¶¼ÖªµÀJAVAÖÐʹÓÃOBJECT×÷ΪΨһµÄ»ùÀà¡£µ«ÊÇJAVAµÄÉè¼ÆÕßΪʲôҪÕâÑù×öÄØ£¿ÖضÁ¡¶TTHINKING IN JAVA¡·£¬µÃ³öÒÔÏÂÔÒò£º
1£¬JAVAÊÇ´¿ÃæÏò¶ÔÏóµÄÓïÑÔ¡£µ¥¼Ì³ÐÌåϵ±£Ö¤ÁËËùÓÐн¨µÄ»òJDKÖÐÒÑÓеÄÀ඼±ØÐë¼Ì³Ð×ÔOBJECT¡£ÕâÑù£¬±£Ö¤ÁËËùÓеÄÀ඼¾ßÓÐһЩ»ù±¾µÄ·½·¨¡£ÀýÈçÒ»¸öString¶ÔÏóÓÐtoString()·½·¨£¬ÁíÍâÒ»¸öMath¶ÔÏ ......
boolean java.lang.Object.equals(Object obj)
Indicates whether some other
object is "equal to" this one.
The equals method implements an
equivalence relation on non-null object references:
It is reflexive: for
any non-null reference value x, x.equals(x) should return true.
It ......
ÔÚjava»·¾³±äÁ¿ÅäÖÃÉÏץס “Á½Ìí¼Ó£¬ÒÔÐ޸ľÍOKÁË”
°´×¡windows¼ü+PauseBreak¼üÖ±½ÓÔڸ߼¶ÖеĻ·¾³±äÁ¿´¦ÉèÖÃ
1.Ìí¼Ó
CLASSPATH
.;C:\Program Files\Java\jdk1.6.0_02\lib;£¨ÕâÊÇÄãJdk°²×°µÄĿ¼Ïµİü£©
2.Ìí¼Ó
JAVA_HOME
C:\Program Files\Java\jdk1.6.0_02
3.ÐÞ¸Ä
ÐÞ¸Äpath±äÁ¿
C:\Progra ......
À´Ô´£ºhttp://bbs.hackline.net/thread-3620-1-1.html
Òþ²Ø¾ßÌåʵÏÖÊÇJavaÓïÑÔµÄÖ÷ÒªÌصãÖ®Ò»¡£ÕýÊÇÒòΪÕâ¸öÔÒò£¬ËùÒÔJavaÓïÑÔµÄÒÆÖ²ÐÔ¾ÍÌرðºÃ¡£ÈçÓиö³ÌÐòÔ±±àдÁËÒ»¸öʵÏÖËæ»úÊýµÄ³ÌÐò¿â£¬ÄÇôÆäËû
³ÌÐò¿ª·¢ÈËÔ±Ö»ÐèÒªÖªµÀÕâ¸ö³ÌÐò¿âÐèÒª´«ÈëÄÇЩ²ÎÊý£¬¾Í¿ÉÒÔʹÓÃÕâ¸öÀà¡£ÏÖÔÚÎÞÂÛÊÇÍøÉÏ»¹ÊÇƽʱµÄ¹¤×÷ÖУ¬ÓкܶàÏÖ³É ......