java.lang.OutOfMemoryError: requested 131080 bytes for Chunk

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Locked
SantaRosa
Posts: 18
Joined: Wed Aug 12, 2009 5:34 pm

java.lang.OutOfMemoryError: requested 131080 bytes for Chunk

Post by SantaRosa »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

I use lastes epilogue version on svn of l2jserver.com . I build some new function. My server is crashed after 3-5h run time.
This is my error log:

Code: Select all

## A fatal error has been detected by the Java Runtime Environment:## java.lang.OutOfMemoryError: requested 131080 bytes for Chunk::new. Out of swap space?##  Internal Error (allocation.cpp:215), pid=3295, tid=796056464#  Error: Chunk::new## JRE version: 6.0_17-b17# Java VM: OpenJDK Server VM (14.0-b16 mixed mode linux-x86 )# Derivative: IcedTea6 1.7.5# Distribution: Custom build (Wed Oct 13 13:04:40 EDT 2010)# An error report file with more information is saved as:# /L2Jserver/gameserver/hs_err_pid3295.log## If you would like to submit a bug report, please include# instructions how to reproduce the bug and visit:#   http://icedtea.classpath.org/bugzilla# 
I used centos 5.4.

My GameServer_loop.sh

Code: Select all

#!/bin/bash # exit codes of GameServer:#  0 normal shutdown#  2 reboot attempt while :; do        [ -f log/java0.log.0 ] && mv log/java0.log.0 "log/`date +%Y-%m-%d_%H-%M-%S`_java.log"        [ -f log/stdout.log ] && mv log/stdout.log "log/`date +%Y-%m-%d_%H-%M-%S`_stdout.log"        java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1536m -Xmx2048m -cp ./../libs/*:l2jserver.jar com.l2jserver.gameserver.GameServer > log/stdout.log 2>&1        [ $? -ne 2 ] && break#       /etc/init.d/mysql restart        sleep 10done
Please help me
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: java.lang.OutOfMemoryError: requested 131080 bytes for C

Post by JIV »

search on google.
Locked