| | |
problem in java
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
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 |
6 actuate android api applet application array arrays automation balls binary bluetooth bold business c++ chat class classes client code codesnippet collections component coordinates database defaultmethod doctype dragging ebook eclipse educational error event exception file fractal froglogic game givemetehcodez graphics gui helpwithhomework hql html ide ideas image ingres input integer internet intersect invokingapacheantprogrammatically j2me java javaexcel javaprojects jni jpanel jtextarea julia linux list loop looping map method methods mobile mysql netbeans newbie nextline parameter php print problem program programming project recursion recursive scanner screen sell server set size sms sort sql string sun swing swt threads tree user websites windows






