How to Implement Thread-Safe Bounded Buffer in Jav.Solution 3: One more worth noting syntax error while providing heap space is space between numeric literal and unit, as shown in below example: Correct: ~/java java -Xmx1500 M In-correct: ~/java java -Xmx1500MB In-Correct: ~/java java -Xmx 1400M So when you run following java command in 32 bit Windows XP machine on 32 bit windows XP maximum heap size limits upto 1.5G due to various reason while on 64 bit Solaris machine even with 32 bit JVM you can afford around 3.5GB. In 32 bit machine though theoretical limit of maximum heap size is 4GB, it varies on operating system to operating system e.g. 32 bit JVM or 64 bit JVM and operating system. Solution 2: that maximum heap size varies based upon machine architecture e.g. for the Error: Could not create the Java Virtual Machine. ie it means you have install the entire s/w. Solution 1: You can re-install the all components. We have couple of solutions for the above Problem
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |