| | |
problem in java
![]() |
•
•
Join Date: Aug 2005
Posts: 74
Reputation:
Solved Threads: 0
hi all
i have installed jdk1.5.0 in gentoo linux and having the following problem can any one help me out what should be done
i had just installed gentoo. i am not able to set a java heap size of
more than 2600m on these machines. I m getting following error
--------------------------------------------------
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
--------------------------------------------------
My suspicion is this is a kernel tunable issue, because i have never faced this
issue in fedora stock kernels.
so what might be the problem and i have tries all the latest java software like jdk1.5.0
but same thing is running fine in in fedora with rany amount of ram like 1gb, 2 gb and 1 gb swap but same thing is not even working in Gentoo with 4gb ram and 1 gb swap
so plz help me out
i have installed jdk1.5.0 in gentoo linux and having the following problem can any one help me out what should be done
i had just installed gentoo. i am not able to set a java heap size of
more than 2600m on these machines. I m getting following error
--------------------------------------------------
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
--------------------------------------------------
My suspicion is this is a kernel tunable issue, because i have never faced this
issue in fedora stock kernels.
so what might be the problem and i have tries all the latest java software like jdk1.5.0
but same thing is running fine in in fedora with rany amount of ram like 1gb, 2 gb and 1 gb swap but same thing is not even working in Gentoo with 4gb ram and 1 gb swap
so plz help me out
•
•
Join Date: Jun 2005
Posts: 71
Reputation:
Solved Threads: 1
•
•
•
•
Originally Posted by Sun Microsystems - J2SE 1.5.0
On Solaris 7 and Solaris 8 SPARC platforms, the upper limit for this value is approximately 4000m minus overhead amounts. On Solaris 2.6 and x86 platforms, the upper limit is approximately 2000m minus overhead amounts. On Linux platforms, the upper limit is approximately 2000m minus overhead amounts.
Please also see:
http://java.sun.com/j2se/1.5.0/docs/...ver-class.html
http://java.sun.com/j2se/1.5.0/docs/...rgonomics.html
-----------------------------
•
•
•
•
Originally Posted by jindalarpan
but same thing is running fine in in fedora with rany amount of ram like 1gb, 2 gb and 1 gb swap but same thing is not even working in Gentoo with 4gb ram and 1 gb swap
My guess is that you were running the same code, but with a heap setting < 2000m on the Fedora box? If not can you please elaborate.
Kate
![]() |
Similar Threads
- facing problem in database connectivity in java to mysql (Java)
- problem with java in fedora4 (*nix Software)
- problem with java.util.Collections (Java)
- Problem with Java Swing (Java)
- Java Problem (Windows NT / 2000 / XP)
- problem in java cobe (Java)
- Problem with JAVA and XP & a few missing choices. *bangs head on desk* (Web Browsers)
Other Threads in the Java Forum
- Previous Thread: Output
- Next Thread: need help with error message
| Thread Tools | Search this Thread |
android api applet application apps array arrays automation awt bidirectional binary birt bluetooth businessintelligence busy_handler(null) card chat class classes client code collision columns component constructor database designadrawingapplicationusingjavajslider draw eclipse error errors eventlistener exception expand fractal free game givemetehcodez graphics gui guidancer html ide image inetaddress integer integration intellij j2me java javafx javamicroeditionuseofmotionsensor javaprojects jme jni jpanel jtree julia linux list loop machine map method methods migrate mobile mobiledevelopmentcreatejar myaggfun netbeans newbie oracle plazmic print problem program programming project recursion scanner server set sharepoint smart sms smsspam sort sortedmaps sql string subclass support swing textfield threads tree unlimited utility webservices windows






