Java - heap space xmx

   
Vista:

heap space xmx

Publicado por Miguel Hpm (5 intervenciones) el 02/04/2008 23:51:58
Hola a todos tengo mi aplicacion de escritorio desarrollado en java.. y este programa utiliza mucha memoria.... y vuelve lenta la PC, y cuando supuestamente borro objejos o elimino ventanas deberia de liberar memoria pero no lo hace... es como si los mantuviera incluso ehh llegado a apuntar a null todos los objetos pero es inutil... no libera memoria.......ehh escuchado por ahi que cuando llamamos al garbage collector, tampoco libera memoria... weno quiza es una mala configuracion...
este es mi configuracion de heap space : heap space xmx -J-Xmx400m

saludos

Miguel Hpm
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:heap space xmx

Publicado por Miguel Hpm (5 intervenciones) el 08/04/2008 20:39:41
Me sale el Siguiente Error......................................

#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x5550304b, pid=2240, tid=2456
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing)
# Problematic frame:
# C 0x5550304b
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

--------------- T H R E A D ---------------

Current thread (0x02b4d800): VMThread [id=2456]

siginfo: ExceptionCode=0xc0000005, reading address 0x5550304b

Registers:
EAX=0x2382bad8, EBX=0x00389e80, ECX=0x2b3c3db8, EDX=0x00a293f0
ESP=0x02c7fbc8, EBP=0x22e60000, ESI=0x6d9c9c5c, EDI=0x6d9c9c5c
EIP=0x5550304b, EFLAGS=0x00010206

Top of Stack: (sp=0x02c7fbc8)
0x02c7fbc8: 6d8f6dea 2382bad8 6d8f71ea 00000003
0x02c7fbd8: 6d962b02 6d9e4198 6d9c9c5c 00389e80
0x02c7fbe8: 00389e80 6d92d6ea 6d9c9c5c 00000000
0x02c7fbf8: 6d9c9c5c 6d9c9c5c 6d85cce1 00000001
0x02c7fc08: 00000002 6d9c9c5c 6d9c9c5c 0038bd30
0x02c7fc18: 00389e80 22e60000 00000000 6d85e96b
0x02c7fc28: 00000001 00000000 00000001 00000002
0x02c7fc38: 6d9c9c5c 6d9c9c5c 00389e80 00000001

Instructions: (pc=0x5550304b)
0x5550303b:
[error occurred during error reporting, step 100, id 0xc0000005]

Stack: [0x02c30000,0x02c80000), sp=0x02c7fbc8, free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x5550304b

VM_Operation (0x05a0e5ac): generation collection for allocation, mode: safepoint, requested by thread 0x057f1400

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x062f1400 JavaThread "MySQL Statement Cancellation Timer" daemon [_thread_blocked, id=1404]
0x03119800 JavaThread "TimerQueue" daemon [_thread_blocked, id=2484]
0x057f1400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=2492]
0x03107800 JavaThread "AWT-Shutdown" [_thread_blocked, id=2224]
0x03122800 JavaThread "AWT-Windows" daemon [_thread_blocked, id=260]
0x0311fc00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2372]
0x0305f000 JavaThread "Exe4JStartupThread" daemon [_thread_blocked, id=2784]
0x02b5ec00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2644]
0x02b5a000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2608]
0x02b58c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=2592]
0x02b58000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3820]
0x02b53000 JavaThread "Finalizer" daemon [_thread_blocked, id=2268]
0x02b4e800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2348]
0x00387800 JavaThread "main" [_thread_blocked, id=2276]

Other Threads:
=>0x02b4d800 VMThread [id=2456]
0x02b60000 WatcherThread [id=3956]

VM state:at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x00386320/0x00000154] Threads_lock - owner thread: 0x02b4d800
[0x003864c0/0x00000194] Heap_lock - owner thread: 0x057f1400

Heap
def new generation total 2432K, used 256K [0x22980000, 0x22c20000, 0x22e60000)
eden space 2176K, 0% used [0x22980000, 0x22980000, 0x22ba0000)
from space 256K, 100% used [0x22be0000, 0x22c20000, 0x22c20000)
to space 256K, 0% used [0x22ba0000, 0x22ba0000, 0x22be0000)
tenured generation total 32812K, used 32743K [0x22e60000, 0x24e6b000, 0x26980000)
the space 32812K, 99% used [0x22e60000, 0x24e59ee8, 0x24e5a000, 0x24e6b000)
compacting perm gen total 12288K, used 6174K [0x26980000, 0x27580000, 0x2a980000)
the space 12288K, 50% used [0x26980000, 0x26f87b30, 0x26f87c00, 0x27580000)
ro space 8192K, 62% used [0x2a980000, 0x2ae814a8, 0x2ae81600, 0x2b180000)
rw space 12288K, 52% used [0x2b180000, 0x2b7c7278, 0x2b7c7400, 0x2bd80000)

Dynamic libraries:
0x00400000 - 0x0043e000 C:Archivos de programaSis-GSPSis-Gsp.exe
0x7c910000 - 0x7c9c6000 C:WINDOWSsystem32 tdll.dll
0x7c800000 - 0x7c902000 C:WINDOWSsystem32kernel32.dll
0x77da0000 - 0x77e4c000 C:WINDOWSsystem32ADVAPI32.DLL
0x77e50000 - 0x77ee1000 C:WINDOWSsystem32RPCRT4.dll
0x773a0000 - 0x774a3000 C:WINDOWSWinSxSX86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03COMCTL32.DLL
0x77be0000 - 0x77c38000 C:WINDOWSsystem32msvcrt.dll
0x77ef0000 - 0x77f37000 C:WINDOWSsystem32GDI32.dll
0x7e390000 - 0x7e420000 C:WINDOWSsystem32USER32.dll
0x77f40000 - 0x77fb6000 C:WINDOWSsystem32SHLWAPI.dll
0x7e6a0000 - 0x7eec1000 C:WINDOWSsystem32SHELL32.DLL
0x76340000 - 0x7635d000 C:WINDOWSsystem32IMM32.DLL
0x6d7c0000 - 0x6da0a000 c:archivos de programajavajre1.6.0_03inclientjvm.dll
0x76b00000 - 0x76b2e000 C:WINDOWSsystem32WINMM.dll
0x7c340000 - 0x7c396000 c:archivos de programajavajre1.6.0_03inMSVCR71.dll
0x6d310000 - 0x6d318000 c:archivos de programajavajre1.6.0_03inhpi.dll
0x76bb0000 - 0x76bbb000 C:WINDOWSsystem32PSAPI.DLL
0x6d770000 - 0x6d77c000 c:archivos de programajavajre1.6.0_03inverify.dll
0x6d3b0000 - 0x6d3cf000 c:archivos de programajavajre1.6.0_03injava.dll
0x6d7b0000 - 0x6d7bf000 c:archivos de programajavajre1.6.0_03inzip.dll
0x6d000000 - 0x6d1c3000 C:Archivos de programaJavajre1.6.0_03inawt.dll
0x72f80000 - 0x72fa6000 C:WINDOWSsystem32WINSPOOL.DRV
0x774b0000 - 0x775ed000 C:WINDOWSsystem32ole32.dll
0x736e0000 - 0x73729000 C:WINDOWSsystem32ddraw.dll
0x73b40000 - 0x73b46000 C:WINDOWSsystem32DCIMAN32.dll
0x6d2b0000 - 0x6d303000 C:Archivos de programaJavajre1.6.0_03infontmanager.dll
0x746b0000 - 0x746fb000 C:WINDOWSsystem32MSCTF.dll
0x75160000 - 0x7518e000 C:WINDOWSsystem32msctfime.ime
0x6d570000 - 0x6d583000 C:Archivos de programaJavajre1.6.0_03in et.dll
0x71a30000 - 0x71a47000 C:WINDOWSsystem32WS2_32.dll
0x71a20000 - 0x71a28000 C:WINDOWSsystem32WS2HELP.dll
0x6d590000 - 0x6d599000 C:Archivos de programaJavajre1.6.0_03in io.dll
0x6d220000 - 0x6d243000 C:Archivos de programaJavajre1.6.0_03indcpr.dll
0x719d0000 - 0x71a10000 C:WINDOWSSystem32mswsock.dll
0x76ee0000 - 0x76f07000 C:WINDOWSsystem32DNSAPI.dll
0x76f70000 - 0x76f78000 C:WINDOWSSystem32winrnr.dll
0x76f20000 - 0x76f4d000 C:WINDOWSsystem32WLDAP32.dll
0x76f80000 - 0x76f86000 C:WINDOWSsystem32 asadhlp.dll
0x20b00000 - 0x20b46000 C:WINDOWSsystem32imon.dll
0x71a50000 - 0x71a5a000 C:WINDOWSsystem32WSOCK32.dll
0x20c00000 - 0x20c0d000 C:Archivos de programaEsetpr_imon.dll
0x77660000 - 0x77681000 C:WINDOWSsystem32NTMARTA.DLL
0x71b90000 - 0x71ba3000 C:WINDOWSsystem32SAMLIB.dll
0x66740000 - 0x66799000 C:WINDOWSsystem32hnetcfg.dll
0x71a10000 - 0x71a18000 C:WINDOWSSystem32wshtcpip.dll
0x770f0000 - 0x7717b000 C:WINDOWSsystem32OLEAUT32.DLL

VM Arguments:
jvm_args: -Dexe4j.semaphoreName=c:_archivos de programa_sis-gsp_sis-gsp.exe -Dexe4j.moduleName=C:Archivos de programaSis-GSPSis-Gsp.exe -Dexe4j.processCommFile=C:DOCUME~1LABORA~1CONFIG~1Tempe4j_p2240.tmp -Dexe4j.tempDir=C:DOCUME~1LABORA~1CONFIG~1Tempe4jA3.tmp_dir29812 -Dexe4j.unextractedPosition=23884733 -Dexe4j.consoleCodepage=cp0
java_command: <unknown>
Launcher Type: generic

Environment Variables:
PATH=C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;c:archivos de programajavajre1.6.0_03in
USERNAME=Laboratorio
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 10, GenuineIntel


--------------- S Y S T E M ---------------

OS: Windows XP Build 2600 Service Pack 2

CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 8 stepping 10, cmov, cx8, fxsr, mmx, sse

Memory: 4k page, physical 253492k(57476k free), swap 621280k(387984k free)

vm_info: Java HotSpot(TM) Client VM (1.6.0_03-b05) for windows-x86, built on Sep 24 2007 22:24:33 by "java_re" with unknown MS VC++:1310

.......................................... alguna idea????

gracias
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar