Did you try -Xmx2048M instead? Because I'm not sure if every VM knows the G
On 11/11/05, Deepesh <[EMAIL PROTECTED]> wrote: > Hi, > > I am having an enterprise application [.ear] > > I am using Fedora Core3 and Geronimo-M5. > > I am able to deploy the aplication successfully .. > > I use the option java -Xms1G -Xmx2G -jar > bin/server.jar for starting the server. > > I use the option java -Xms1G -Xmx2G -jar > bin/deployer.jar deploy > Myapp.ear . > > The memory remaining after the deployment is about > 256MB. I use free- m command to viwe this. > > when I try to login into the application it is saying > that an internal > error has occurred and I am getting > java.lang.OutOfMemoryError on > ServerSide. > > > And if I try to login again it is throwing the same > java.lang.OutOfMemoryError and a lookup error saying > that Myapp.lookup > () not found. > > This lookup error comes only when there is > java.lang.Outofmemory error previously ocuurred during > login. > > If i restart the server again, sometimes it doesn not > show any error and > able to login. > > IS this related to the Memory leakage? > > Any body can provide a solution for this. > > > > Thanks and Regards, > > Deepesh > > > > > __________________________________________________________ > Enjoy this Diwali with Y! India Click here > http://in.promos.yahoo.com/fabmall/index.html >
