Problems with GC are typically the result of failing to properly
release objects when you are finished with them.  Run your code through
a profiler -there are tools available with the JDK that you can easily
use.

----- Original Message -----
From: Anantha_Krishnan <[EMAIL PROTECTED]>
Date: Wednesday, August 22, 2001 7:11 pm
Subject: Re: Clarification for Out Of Memory Error

> what is the diff. btw. running the java code in the normal
> environment and
> running it in extended memory? do u think this problem is coz of
> garbagecollector.. like is our jdk corrupted? do we need to
> reinstall our jdk.
>
> -----Original Message-----
> From: SUBRATA SEN [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 21, 2001 2:13 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Clarification for Out Of Memory Error
>
>
> Hi ,
> Run ur program in extended memory.
>
> Syntax example:
>
>        "%JAVA_HOME%\bin\java" -hotspot -ms256m -mx384m
> -Dweblogic.Domain=LOPSWEBDOMAIN
> -Dweblogic.Name=LOPSWEBSERVER "-Dbea.home=C:\weblogic"
> "-Djava.security.policy=C:\weblogic\wlserver.0\lib\weblogic.policy"
> -Dweblogic.management.username=system
> -Dweblogic.management.password=lopsdomain
> weblogic.Server
>
>
> Basic syntax :
>
> java -ms128m -mx256m <program_name>
> or
> java -ms256m -mx384m <program_name>
>
> Thanks
>
> Subrata SEN
> [EMAIL PROTECTED]
>
>
>
>
>
> --- Anantha_Krishnan <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> > This is the error i receive when I try to load the
> > login page. Can anyone pl
> > clarify this.
> > For subsequent refreshes the login page appears but
> > am unable to navigate
> > further On.
> >
> >
> > ////////////////////////////Stack Trace From Here
> >
> > Error. The server encountered an unexpected
> > condition which prevented it
> > from fulfilling the request.
> > java.lang.OutOfMemoryError
> >         at
> >
> java.io.InputStreamReader.(InputStreamReader.java:74)
> >         at
> > java.util.Properties.load(Properties.java, Compiled
> > Code)
> >         at com.inet.tds.TdsDriver.a(Unknown Source)
> >         at com.inet.tds.TdsDriver.connect(Unknown
> > Source)
> >         at
> >
> java.sql.DriverManager.getConnection(DriverManager.java,
> > Compiled
> > Code)
> >         at
> >
> java.sql.DriverManager.getConnection(DriverManager.java:137)
> >         at
> >
> com.trd.moneymaximizer.login.Login.dbConnect(Login.java:384)
> >         at
> >
> com.trd.moneymaximizer.login.Login.doPost(Login.java:185)
> >         at
> >
> javax.servlet.http.HttpServlet.service(HttpServlet.java,
> > Compiled
> > Code)
> >         at
> >
> javax.servlet.http.HttpServlet.service(HttpServlet.java,
> > Compiled
> > Code)
> >         at
> >
> com.unify.ewave.servletexec.ServletExec.CallServletService
(ServletExec.java,
> > Compiled Code)
> >         at
> >
> com.unify.ewave.servletexec.ServletExec.processServletRequest
(ServletExec.ja
> > va, Compiled Code)
> >         at
> >
> com.unify.ewave.servletexec.ServletExec.ProcessRequest
(ServletExec.java,
> > Compiled Code)
> >         at
> >
> com.unify.ewave.servletexec.ServletExec.ProcessRequest
(ServletExec.java,
> > Compiled Code)
> >
> >
> > ////////////////////////Stack Trace till here
> >
> >
> > thanks
> > ananth
> >
> >
>
________________________________________________________________________
___
> > To unsubscribe, send email to [EMAIL PROTECTED]
> > and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives:
> >
> http:
> > Resources:
> >
> http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help:
> > http://www.lsoft.com/manuals/user/user.html
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo!
> Messengerhttp://phonecard.yahoo.com/
>
>
________________________________________________________________________
___
> To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http:
> Resources: http://java.sun.com/products/servlet/external-
> resources.htmlLISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>
________________________________________________________________________
___
> To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http:
> Resources: http://java.sun.com/products/servlet/external-
> resources.htmlLISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to