You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Deepesh <de...@yahoo.co.in> on 2005/11/11 09:52:51 UTC

outOfmemory Error

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

Re: outOfmemory Error

Posted by Matt Hogstrom <ma...@hogstrom.org>.
Please open a JIRA.

http://geronimo.apache.org and click on the JIRA link.

Can you provide a test case?  I haven't seen this before.  The more data you 
provide the easier it is to recreate and fix :)

Matt

Barry van Someren wrote:
> Did you try -Xmx2048M instead?
> Because I'm not sure if every VM knows the G
> 
> On 11/11/05, Deepesh <de...@yahoo.co.in> 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
>>
> 
> 
> 


Re: outOfmemory Error

Posted by Barry van Someren <go...@gmail.com>.
Did you try -Xmx2048M instead?
Because I'm not sure if every VM knows the G

On 11/11/05, Deepesh <de...@yahoo.co.in> 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
>