• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.lang.OutOfMemoryError in OAS

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
java.lang.OutOfMemoryError in OAS, Anybody help me out for it?
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't know myself, but welcome to JavaRanch anyway

You will have a much better chance of an answer if you post more details, including the stack trace. What size JVM are you using? Have you come across the options for changing heap size with -Xmx etc?
 
damayanti sankhua
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Default Java Options :-hotspot -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -XX:NewSize=256m -XX:MaxNewSize=256m

What to do to get rid of java.lang.outofmemory error ?
I am geting following error
HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b03 mixed mode)
#
# Error ID: 43113F32554E54494D45110E4350500308
#
# Problematic Thread: prio=5 tid=0x03db2b90 nid=0x15cc runnable
#

Heap at VM Abort:
Heap
def new generation total 235968K, used 169353K [0x10010000, 0x20010000, 0x20010000)
eden space 209792K, 77% used [0x10010000, 0x19eec030, 0x1ccf0000)
from space 26176K, 25% used [0x1e680000, 0x1ed06550, 0x20010000)
to space 26176K, 0% used [0x1ccf0000, 0x1ccf0000, 0x1e680000)
tenured generation total 786432K, used 154429K [0x20010000, 0x50010000, 0x50010000)
the space 786432K, 19% used [0x20010000, 0x296df578, 0x296df600, 0x50010000)
compacting perm gen total 65024K, used 64850K [0x50010000, 0x53f90000, 0x60010000)
the space 65024K, 99% used [0x50010000, 0x53f64b80, 0x53f64c00, 0x53f90000)

I think it may be because of out of memory error. But I am not sure. pl anybody help me out ?
 
Campbell Ritchie
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, the error message sounds as though you ought to report it as a bug. Follow the link given and see what happens. Remember a bug report (if you file one) require lots and lots and lots of details.

How big is your app? Is it big enough to require >1GB of memory? Have you got anything which creates itself recursively, or anything like that? Have you searched the Sun bugs database? Do you really need to use Java1.4.2 rather than Java6?

I don't know anything about this error myself, but those are the sorts of details you will have to provide for anybody to be able to give a helpful answer.
 
damayanti sankhua
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks !!!
 
Campbell Ritchie
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're welcome. Please tell us how you get on with it.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic