When I compile java application, it take very long time to succeed and if I don't type -J-mx option, it can't compile the application. Here is the error message:
 
The compiler has run out of memory.  Consider using the "-J-mx<number>" command line option to increase the maximum heap size.
 
Could anyone please suggest the best method to solve my problem?
 
ps: My machine is Redhat 6.1 and jdk1.2pre-v2.
 
Regards,
Penn.

Reply via email to