0

I am using Java version 1.6.0_21.

These are the memory options I have set:

export MEM_OPTS="-Xmx3072m -Xms3072m -XX:NewSize=1024m -XX:MaxNewSize=1024m -XX:+UseTLAB -XX:MaxPermSize=512m

My server is having 10 GB RAM.

A fatal error has been detected by the Java Runtime Environment: java.lang.OutOfMemoryError: requested 32776 bytes for Chunk::new. Out of swap space? Internal Error (allocation.cpp:215), pid=28197, tid=44 Error: Chunk::new JRE version: 6.0_21-b06 Java VM: Java HotSpot(TM) Server VM (17.0-b16 mixed mode solaris-sparc )

Any idea? Why this is coming as I have 10 GB memory on my server?

1 Answer 1

1

check following post something similar problem

java.lang.OutOfMemoryError: requested 1958536 bytes for Chunk::new. Out of swap space

-XX:CompileCommand=exclude,org/apache/velocity/runtime/directive/Foreach,render

https://confluence.atlassian.com/pages/viewpage.action?pageId=219023686

I think above command may help

Sign up to request clarification or add additional context in comments.

2 Comments

If it's indeed this bug (as found following your link), then a simple update to Java 6u22 (or 6u23, never really grasped the precise terminology in the bug database) should solve the problem.
@KPBird : Thanks.Now i have updated my server with java 6u26.Now this solved.But now my application is not able to create any thread.Getting OutOfMemory."java.lang.OutOfMemoryError: unable to create new native thread"...my server is having 10 GB ram.Please let me know : How MaxNewSize,MaxPermSize segregate 10 GB memory.Why i am getting OutOfMemory ? Any Idea

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.