java.lang.OutOfMemoryError
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: java.lang.OutOfMemoryError

  1. #1
    Join Date
    Jan 2002
    Posts
    22
    We have our own tool for datamigration.
    While doing While doing data migration my developer facing this kind of problem.....

    java.lang.OutOfMemoryError
    at java.lang.StringBuffer.expandCapacity(StringBuffer.java:202)
    at java.lang.StringBuffer.append(StringBuffer.java:401)
    at
    oracle.jdbc.driver.OracleConnection.nativeSQL(OracleConnection.java:773)
    at
    oracle.jdbc.driver.OracleStatement.expandSqlEscapes(OracleStatement.java:479
    0)
    at
    oracle.jdbc.driver.OracleStatement.parseSqlKind(OracleStatement.java:4779)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout
    (OracleStatement.java:1847)
    at
    oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:538)
    at
    oracle.jdbc.OracleDatabaseMetaData.getTypeInfo(OracleDatabaseMetaData.java:3
    477)
    at com.ezdata.db.DBMSInfo.(DBMSInfo.java:63)
    at com.ezdata.db.Query.setConnection(Query.java:384)
    at com.ezdata.db.Query.setConnection(Query.java:375)
    at
    ezdata.dmt.officemerge.OfficeMerge.setOfficeName(OfficeMerge.java:128)
    at
    ezdata.dmt.officemerge.OfficeMerge.mergeOffices(OfficeMerge.java:237)
    at
    ezdata.dmt.officemerge.OfficeMerge.initOfficeMerge(OfficeMerge.java:219)
    at
    ezdata.dmt.officemerge.OfficeMerge.processData(OfficeMerge.java:197)
    at ezdata.dmt.component.EZOffice.createOffices(EZOffice.java:140)
    at ezdata.dmt.component.EZOffice.processData(EZOffice.java:71)
    at ezdata.dmt.Processor.startProcess(Processor.java:121)
    at ezdata.dmt.dmtApp.processRequest(dmtApp.java:59)
    at ezdata.dmt.dmtApp.doGet(dmtApp.java:75)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
    at org.apache.tomcat.core.Handler.service(Handler.java:286)
    at
    org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at
    org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
    7)
    at
    org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)


    I think this is not the problem from oracle....so where is the problem......can u give me some details.



    Regards
    rajesh
    Rajesh C.Makwana
    When things go wrong and u feel sick , Rest if u must , but Do not quit....

  2. #2
    Join Date
    Jan 2002
    Posts
    57
    Looks like you ran out of memory, while trying to expand the capacity of a StringBuffer object, on the machine running the Java code.

    Without seeing the code, or how it is called, it is hard to say much else.

    --
    Paul

  3. #3
    Join Date
    Oct 2000
    Location
    Charlotte, USA
    Posts
    330
    Is the CLasspath set correctly...in .profile
    Thanks.
    Thanigai.

  4. #4
    Join Date
    Sep 2001
    Location
    NJ, USA
    Posts
    1,287
    Probably u have promlem with JVM size of memmory.
    1)
    Try to increase thru java command line:
    heap size
    stack size (only if u use JDK 1.3)
    for this application.
    2)
    U use tomcat as application server.
    Then check # of threads, that creating in ur application.

  5. #5
    Join Date
    Jan 2002
    Posts
    22
    Thanx Boss......
    Rajesh C.Makwana
    When things go wrong and u feel sick , Rest if u must , but Do not quit....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width