Hi,
Set JVM option in your program or your IDE(Netbeans or ...) to :-Xms100m -Xmx1024m -XX:MaxPermSize=
or find the best JVM's arguments for your system,i mean you can change 100m or 1024m or 512m according to your RAM in
your system.
Khosro.
____________
From: saurabh_29july <saurabh_29july@
To: Java_Official@
Sent: Fri, November 13, 2009 3:35:51 AM
Subject: [Java] Re: outofmemory error
Check your code for, hope you will possibly find a memory leak thier itself.
Incase you don't find it.. you can use a profiler.!! :)
--- In Java_Official@ yahoogroups. com, rama krishna <ramakrishnaakella_ 31@...> wrote:
>
> Hi All,
> How to resolve outofmemory error?
>
> Thanks
> Ramakrishna
>
>
> Add whatever you love to the Yahoo! India homepage. Try now! http://in.yahoo. com/trynew
>
> [Non-text portions of this message have been removed]
>
[Non-text portions of this message have been removed]
Java Official Group is created for the following topics: Java 2 Enterprise Edition - J2EE, Java 2 Standard Edition - J2SE, Java 2 Micro Edition - J2ME, XML, XSL, XSD, XPATH, Web Services, Jini, JXTA for all type of Java Geeks.
Whoever posts spam / ads / job related message will be BANNED IMMEDIATELY
No comments:
Post a Comment