pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedOut of memory exception
6+ messages / 6 participants
[nested] [flat]
* Out of memory exception
@ 2004-04-16 21:29 Tao Yang <tyang@cloverworxs.com>
0 siblings, 1 reply; 6+ messages in thread
From: Tao Yang @ 2004-04-16 21:29 UTC (permalink / raw)
To: pgsql-jdbc
Hi,
First I would like to think you for your wonderful work on Postgresql
and the jdbc driver, it is all wonderful.
We run into a particular problem when I try to upload a big size blob
into the postgresql. In our web application, we allow user to upload
file to the server which we store it as Blob inside the postgresql
database. during the test, we find if the file size is too big, then an
"OutOfMemory" exception will be thrown. I tried to increase the jvm heap
size from the default 64MB (on linux) to 96MB, 128MB, and 512MB, it does
help a bit, but not resolve it unfortunately - I could upload a file of
size of 2MB when it is 96MB heap size, and 13MB when it is 512MB (only
once, when I do it 2nd time in a row, it failed again with that
"OutOfMemory" error). then I tried against MS SQL Server, it does not
have this problem at all - with the default jvm size, it handles that
13MB file very well. all other code is the same for posgresql and mssql
in our app except loading the driver.
Is there any possibility the postgresql jdbc driver does not handle
large object very well, for example, use stream for loading that big file?
Do you have any clue why we have those problems?
Thanks a lot,
Tao
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Out of memory exception
@ 2004-04-20 23:48 Oliver Jowett <oliver@opencloud.com>
parent: Tao Yang <tyang@cloverworxs.com>
0 siblings, 0 replies; 6+ messages in thread
From: Oliver Jowett @ 2004-04-20 23:48 UTC (permalink / raw)
To: Tao Yang <tyang@cloverworxs.com>; +Cc: pgsql-jdbc
Tao Yang wrote:
> Is there any possibility the postgresql jdbc driver does not handle
> large object very well, for example, use stream for loading that big file?
>
> Do you have any clue why we have those problems?
In brief: yes, the driver doesn't handle large binary columns very well.
You will need 6-7 times the binary data's size in temporary heap space.
For details, take a look at:
http://archives.postgresql.org/pgsql-jdbc/2004-04/msg00186.php
http://archives.postgresql.org/pgsql-jdbc/2004-04/msg00128.php
-O
^ permalink raw reply [nested|flat] 6+ messages in thread
* Out Of memory Exception
@ 2010-12-07 05:41 Rajeshsundar Subramanian <Rajeshsundar.Subramanian@defiance-tech.com>
0 siblings, 2 replies; 6+ messages in thread
From: Rajeshsundar Subramanian @ 2010-12-07 05:41 UTC (permalink / raw)
To: pgsql-jdbc
Hi,
I'm running a java Socket programming using Multithreading and persisting data into PostgreSQL 8.3.4 using Hibernate 3.0 .
[JRockit] ERROR: The JVM has crashed. Writing crash information to E:\bea\user_projects\workspaces\default\CommServerORMImpl\jrockit.5920.dump.
===== BEGIN DUMP =============================================================
JRockit dump produced after 0 days, 00:10:02 on Mon Dec 06 20:45:04 2010
**********************************************************
* If you see this dump, please go to *
* http://edocs.bea.com/jrockit/go2troubleshooting.html *
* for troubleshooting information. *
**********************************************************
Additional information is available in:
E:\bea\user_projects\workspaces\default\CommServerORMImpl\jrockit.5920.dump
E:\bea\user_projects\workspaces\default\CommServerORMImpl\jrockit.5920.mdmp
Error Message: Illegal memory access. [54]
Exception Rec: EXCEPTION_ACCESS_VIOLATION (c0000005) at 0x008C6204 - memory at 0x00000008 could not be read.
Minidump : Wrote mdmp. Size is 139MB
SafeDllMode : -1
Version : BEA JRockit(R) R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32
GC Strategy : Mode: throughput. Currently using strategy: genparpar
GC Status : OC is not running. Last finished OC was OC#187.
: YC is not running. Last finished YC was YC#2091.
OC History : Strategy genparpar was used for OC#1 to OC#187.
YC History : Ran 10 YCs before OC#183.
: Ran 10 YCs before OC#184.
: Ran 11 YCs before OC#185.
: Ran 17 YCs before OC#186.
: Ran 6 YCs before OC#187.
: Ran 1 YCs since last OC.
YC Promotion : Last YC successfully promoted all objects
Heap : 0x00C00000 - 0x04C00000 (Size: 64 MB)
Compaction : 0x00C00000 - 0x01000000 (Current compaction type: internal)
NurseryList : 0x00F894D8 - 0x029D1068
KeepArea : 0x029C8A58 - 0x025F53F8
NurseryMarker: [ 0x01B42A78, 0x020A3E90 ]
CompRefs : References are 32-bit.
CPU : Intel (null) SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 EM64T
Number CPUs : 8
Tot Phys Mem : 6431113216 (6133 MB)
OS version : Microsoft Windows Server 2003 version 5.2 Service Pack 2 (Build 3790) (32-bit)
Thread System: Windows Threads
Java locking : Lazy unlocking enabled (class banning) (transfer banning)
State : JVM is running
Command Line : -Dsun.java.launcher=SUN_STANDARD com.altbu.comm.Server
java.home : E:\bea\jrockit_160_05\jre
j.class.path : E:\bea\user_projects\workspaces\default\CommServerORMImpl\bin;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\antlr-2.7.6.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\commons-collections-3.1.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\dom4j-1.6.1.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\hibernate3.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\hibernate-jpa-2.0-api-1.0.0.Final.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\javassist-3.12.0.GA.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\jta-1.1.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\log4j-1.2.8.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\mysql-connector-java-5.1.13-bin.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\slf4j-api-1.6.1.jar;E:\BOSS Installation Guide\postgresql-8.4-701.jdbc4.jar
j.lib.path : E:\bea\jrockit_160_05\bin;.;C:\WINDOWS\system32;C:\WINDOWS;E:\bea\jrockit_160_05\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
JAVA_HOME : <not set>
_JAVA_OPTIONS: <not set>
PATH : E:\bea\jrockit_160_05\jre\bin;E:\bea\jrockit_160_05\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
C Heap : Good; no memory allocations have failed
StackOverFlow: 0 StackOverFlowErrors have occured
OutOfMemory : 0 OutOfMemoryErrors have occured
Registers (from ThreadContext: 0x42F9F128 / OS context: 0x42F9F4F4):
eax = 00000000 ecx = 00000000 edx = 000000b0 ebx = 44101260
esp = 42f9f7c0 ebp = 4410126c esi = 01ea9d58 edi = 00b8b0f0
es = 00000023 cs = 0000001b ss = 00000023 ds = 00000023
fs = 0000003b gs = 00000000
eip = 008c6204 eflags = 00010202
Stack:
(* marks the word pointed to by the stack pointer)
42f9f7c0: 00974071* 01ea9d58 00000000 00b8b0f0 00000028 441013c4
42f9f7d8: 009743dd 00b8b0f0 440fcc34 00000028 00000001 440fcc34
42f9f7f0: 00974458 441013c4 440fcc34 00b8b0f0 441013d4 00000000
42f9f808: 441013c4 008d103a 441013c4 00b8b0f0 00000028 441013c4
Code:
(* marks the word pointed to by the instruction pointer)
008c61d4: ccccc300 cccccccc cccccccc a552b8a1 ccccc300 cccccccc
008c61ec: cccccccc a552bca1 ccccc300 cccccccc cccccccc 08244c8b
008c6204: b808518b* 00010000 0774d085 0424548b c3044289 cccccccc
008c621c: cccccccc a8f1e8a1 ccccc300 cccccccc cccccccc a8f1f0a1
Loaded modules:
(* denotes the module causing the exception)
00400000-00411fff E:\bea\jrockit_160_05\bin\javaw.exe
7c800000-7c8c1fff C:\WINDOWS\system32\ntdll.dll
77e40000-77f41fff C:\WINDOWS\system32\kernel32.dll
77380000-77410fff C:\WINDOWS\system32\USER32.dll
77c00000-77c48fff C:\WINDOWS\system32\GDI32.dll
7d1e0000-7d27bfff C:\WINDOWS\system32\ADVAPI32.dll
77c50000-77ceffff C:\WINDOWS\system32\RPCRT4.dll
76f50000-76f62fff C:\WINDOWS\system32\Secur32.dll
77ba0000-77bf9fff C:\WINDOWS\system32\MSVCRT.dll
7c340000-7c395fff E:\bea\jrockit_160_05\jre\bin\msvcr71.dll
00830000-00ad3fff *E:\bea\jrockit_160_05\jre\bin\jrockit\jvm.dll
76aa0000-76accfff C:\WINDOWS\system32\WINMM.dll
71c00000-71c16fff C:\WINDOWS\system32\WS2_32.dll
71bf0000-71bf7fff C:\WINDOWS\system32\WS2HELP.dll
71bc0000-71bc7fff C:\WINDOWS\system32\rdpsnd.dll
771f0000-77200fff C:\WINDOWS\system32\WINSTA.dll
71c40000-71c96fff C:\WINDOWS\system32\NETAPI32.dll
76b70000-76b7afff C:\WINDOWS\system32\PSAPI.DLL
6d820000-6d82bfff E:\bea\jrockit_160_05\jre\bin\verify.dll
6d3c0000-6d3defff E:\bea\jrockit_160_05\jre\bin\java.dll
6d320000-6d327fff E:\bea\jrockit_160_05\jre\bin\hpi.dll
6d860000-6d86efff E:\bea\jrockit_160_05\jre\bin\zip.dll
6d620000-6d632fff E:\bea\jrockit_160_05\jre\bin\net.dll
71b20000-71b60fff C:\WINDOWS\system32\mswsock.dll
5f270000-5f2c9fff C:\WINDOWS\system32\hnetcfg.dll
71ae0000-71ae7fff C:\WINDOWS\System32\wshtcpip.dll
68000000-68034fff C:\WINDOWS\system32\rsaenh.dll
76920000-769e1fff C:\WINDOWS\system32\USERENV.dll
76ed0000-76ef9fff C:\WINDOWS\system32\DNSAPI.dll
76f70000-76f76fff C:\WINDOWS\System32\winrnr.dll
76f10000-76f3dfff C:\WINDOWS\system32\WLDAP32.dll
76f80000-76f84fff C:\WINDOWS\system32\rasadhlp.dll
47dd0000-47ee2fff E:\bea\jrockit_160_05\jre\bin\dbghelp.dll
"pool-1-thread-36" id=47 idx=0xd8 tid=6164 lastJavaFrame=0x42F9F998
Stack 0: start=0x42F60000, end=0x42FA0000, guards=0x42F63000 (ok), forbidden=0x42F61000
Thread Stack Trace:
at javalockInitLockword+4(javalock.c:2811+4)@0x008C6204
at mmAllocObjectOrArray+385(objalloc.c:250+10)@0x00974071
at mmAllocArrayInner+77(objalloc.c:619+25)@0x009743DD
at mmAllocArray+104(objalloc.c:647+11)@0x00974458
at jniNewAddressArray2+26(jniarray.c:442+26)@0x008D103A
at setup_catch_exception+273(exceptionhandler.c:439+0)@0x00886E51
at excCheckUnprocessedException+267(exceptionhandler.c:488+0)@0x00886FBB
at tsCheckTransitToJava+30(execution.c:1414+12)@0x00888C2E
-- Java stack --
at jrockit/vm/ExceptionHandler.throwPendingType()V(Native Method)
at jrockit/vm/RNI.callMarker()V(RNI.java)
at jrockit/vm/Allocator.allocArray(Allocator.java:744)[optimized]
at java/nio/CharBuffer.allocate(CharBuffer.java:95)
at sun/nio/cs/StreamEncoder.flushLeftoverChar(StreamEncoder.java:214)
at sun/nio/cs/StreamEncoder.implClose(StreamEncoder.java:282)
at sun/nio/cs/StreamEncoder.close(StreamEncoder.java:130)
^-- Holding lock: java/io/OutputStreamWriter@0x0284F2F8[thin lock]
at java/io/OutputStreamWriter.close(OutputStreamWriter.java:216)
at org/postgresql/core/PGStream.close(PGStream.java:531)[inlined]
at org/postgresql/core/v3/ProtocolConnectionImpl.close(ProtocolConnectionImpl.java:138)[optimized]
at org/postgresql/jdbc2/AbstractJdbc2Connection.close(AbstractJdbc2Connection.java:537)[optimized]
at org/hibernate/connection/DriverManagerConnectionProvider.closeConnection(DriverManagerConnectionProvider.java:160)
at org/hibernate/jdbc/ConnectionManager.closeConnection(ConnectionManager.java:474)
at org/hibernate/jdbc/ConnectionManager.aggressiveRelease(ConnectionManager.java:429)
at org/hibernate/jdbc/ConnectionManager.afterTransaction(ConnectionManager.java:316)
at org/hibernate/jdbc/JDBCContext.afterTransactionCompletion(JDBCContext.java:269)[inlined]
at org/hibernate/transaction/JDBCTransaction.commit(JDBCTransaction.java:146)[optimized]
at com/altbu/dao/OBUPeriodicDataDao.insert(OBUPeriodicDataDao.java:21)[optimized]
at com/altbu/db/ConnectDB.insertPeriodicData(ConnectDB.java:29)[inlined]
at com/altbu/comm/Parser.insertPeriodicRecord(Parser.java:423)[inlined]
at com/altbu/comm/Parser.parseAndUpdate(Parser.java:46)[optimized]
at com/altbu/comm/OBUTask.parseAndUpdate(OBUTask.java:205)[inlined]
at com/altbu/comm/OBUTask.run(OBUTask.java:47)[optimized]
at java/util/concurrent/ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)[optimized]
at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
-- end of trace
Pending Exception:
java/lang/NullPointerException:
--- End of stack trace
**********************************************************
* If you see this dump, please go to *
* http://edocs.bea.com/jrockit/go2troubleshooting.html *
* for troubleshooting information. *
**********************************************************
===== END DUMP ===============================================================
Regards,
Rajesh Sundar S
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Out Of memory Exception
@ 2010-12-07 06:11 Maciek Sakrejda <msakrejda@truviso.com>
parent: Rajeshsundar Subramanian <Rajeshsundar.Subramanian@defiance-tech.com>
1 sibling, 1 reply; 6+ messages in thread
From: Maciek Sakrejda @ 2010-12-07 06:11 UTC (permalink / raw)
To: Rajeshsundar Subramanian <Rajeshsundar.Subramanian@defiance-tech.com>; +Cc: pgsql-jdbc
1. The dump says this is an illegal memory access, not an out of
memory error. Where did you get "out of memory exception"?
2. Although the driver, is involved, this does not look like an error
in the driver. Is there something that makes you think that it is? If
anything, this looks like a native code error (JRockit itself?) if
this is indeed a memory access violation.
---
Maciek Sakrejda | System Architect | Truviso
1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
www.truviso.com
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Out Of memory Exception
@ 2010-12-07 09:59 Guillaume Cottenceau <gc@mnc.ch>
parent: Maciek Sakrejda <msakrejda@truviso.com>
0 siblings, 0 replies; 6+ messages in thread
From: Guillaume Cottenceau @ 2010-12-07 09:59 UTC (permalink / raw)
To: Rajeshsundar Subramanian <Rajeshsundar.Subramanian@defiance-tech.com>; +Cc: Maciek Sakrejda <msakrejda@truviso.com>; pgsql-jdbc
Maciek Sakrejda <msakrejda 'at' truviso.com> writes:
> 2. Although the driver, is involved, this does not look like an error
> in the driver. Is there something that makes you think that it is? If
> anything, this looks like a native code error (JRockit itself?) if
> this is indeed a memory access violation.
The PostgreSQL JDBC driver is written in pure Java, as far as I
know. So it cannot be guilty for a memory access violation or JVM
crash - it's either the JVM itself (albeit not probable at all)
or some native libraries in use..
--
Guillaume Cottenceau
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Out Of memory Exception
@ 2010-12-07 11:23 Dave Cramer <pg@fastcrypt.com>
parent: Rajeshsundar Subramanian <Rajeshsundar.Subramanian@defiance-tech.com>
1 sibling, 0 replies; 6+ messages in thread
From: Dave Cramer @ 2010-12-07 11:23 UTC (permalink / raw)
To: Rajeshsundar Subramanian <Rajeshsundar.Subramanian@defiance-tech.com>; +Cc: pgsql-jdbc
Hi,
JVM's should not crash. I think you should address this with Oracle.
Dave
On Tue, Dec 7, 2010 at 12:41 AM, Rajeshsundar Subramanian
<Rajeshsundar.Subramanian@defiance-tech.com> wrote:
> Hi,
>
> I’m running a java Socket programming using Multithreading and persisting
> data into PostgreSQL 8.3.4 using Hibernate 3.0 .
>
>
>
>
>
> [JRockit] ERROR: The JVM has crashed. Writing crash information to
> E:\bea\user_projects\workspaces\default\CommServerORMImpl\jrockit.5920.dump.
>
>
>
>
>
> ===== BEGIN DUMP
> =============================================================
>
>
>
> JRockit dump produced after 0 days, 00:10:02 on Mon Dec 06 20:45:04 2010
>
>
>
>
>
>
>
> **********************************************************
>
>
>
> * If you see this dump, please go to *
>
>
>
> * http://edocs.bea.com/jrockit/go2troubleshooting.html *
>
>
>
> * for troubleshooting information. *
>
>
>
> **********************************************************
>
>
>
>
>
>
>
> Additional information is available in:
>
>
>
>
> E:\bea\user_projects\workspaces\default\CommServerORMImpl\jrockit.5920.dump
>
>
>
>
> E:\bea\user_projects\workspaces\default\CommServerORMImpl\jrockit.5920.mdmp
>
>
>
>
>
>
>
> Error Message: Illegal memory access. [54]
>
>
>
> Exception Rec: EXCEPTION_ACCESS_VIOLATION (c0000005) at 0x008C6204 - memory
> at 0x00000008 could not be read.
>
>
>
> Minidump : Wrote mdmp. Size is 139MB
>
>
>
> SafeDllMode : -1
>
>
>
> Version : BEA JRockit(R)
> R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32
>
>
>
> GC Strategy : Mode: throughput. Currently using strategy: genparpar
>
>
>
> GC Status : OC is not running. Last finished OC was OC#187.
>
>
>
> : YC is not running. Last finished YC was YC#2091.
>
>
>
> OC History : Strategy genparpar was used for OC#1 to OC#187.
>
>
>
> YC History : Ran 10 YCs before OC#183.
>
>
>
> : Ran 10 YCs before OC#184.
>
>
>
> : Ran 11 YCs before OC#185.
>
>
>
> : Ran 17 YCs before OC#186.
>
>
>
> : Ran 6 YCs before OC#187.
>
>
>
> : Ran 1 YCs since last OC.
>
>
>
> YC Promotion : Last YC successfully promoted all objects
>
>
>
> Heap : 0x00C00000 - 0x04C00000 (Size: 64 MB)
>
>
>
> Compaction : 0x00C00000 - 0x01000000 (Current compaction type: internal)
>
>
>
> NurseryList : 0x00F894D8 - 0x029D1068
>
>
>
> KeepArea : 0x029C8A58 - 0x025F53F8
>
>
>
> NurseryMarker: [ 0x01B42A78, 0x020A3E90 ]
>
>
>
> CompRefs : References are 32-bit.
>
>
>
> CPU : Intel (null) SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 EM64T
>
>
>
> Number CPUs : 8
>
>
>
> Tot Phys Mem : 6431113216 (6133 MB)
>
>
>
> OS version : Microsoft Windows Server 2003 version 5.2 Service Pack 2
> (Build 3790) (32-bit)
>
>
>
> Thread System: Windows Threads
>
>
>
> Java locking : Lazy unlocking enabled (class banning) (transfer banning)
>
>
>
> State : JVM is running
>
>
>
> Command Line : -Dsun.java.launcher=SUN_STANDARD com.altbu.comm.Server
>
>
>
> java.home : E:\bea\jrockit_160_05\jre
>
>
>
> j.class.path :
> E:\bea\user_projects\workspaces\default\CommServerORMImpl\bin;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\antlr-2.7.6.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\commons-collections-3.1.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\dom4j-1.6.1.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\hibernate3.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\hibernate-jpa-2.0-api-1.0.0.Final.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\javassist-3.12.0.GA.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\jta-1.1.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\log4j-1.2.8.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\mysql-connector-java-5.1.13-bin.jar;E:\bea\user_projects\workspaces\default\CommServerORMImpl\lib\slf4j-api-1.6.1.jar;E:\BOSS
> Installation Guide\postgresql-8.4-701.jdbc4.jar
>
>
>
> j.lib.path :
> E:\bea\jrockit_160_05\bin;.;C:\WINDOWS\system32;C:\WINDOWS;E:\bea\jrockit_160_05\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
>
>
>
> JAVA_HOME : <not set>
>
>
>
> _JAVA_OPTIONS: <not set>
>
>
>
> PATH :
> E:\bea\jrockit_160_05\jre\bin;E:\bea\jrockit_160_05\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
>
>
>
> C Heap : Good; no memory allocations have failed
>
>
>
> StackOverFlow: 0 StackOverFlowErrors have occured
>
>
>
> OutOfMemory : 0 OutOfMemoryErrors have occured
>
>
>
>
>
>
>
> Registers (from ThreadContext: 0x42F9F128 / OS context: 0x42F9F4F4):
>
>
>
> eax = 00000000 ecx = 00000000 edx = 000000b0 ebx = 44101260
>
>
>
> esp = 42f9f7c0 ebp = 4410126c esi = 01ea9d58 edi = 00b8b0f0
>
>
>
> es = 00000023 cs = 0000001b ss = 00000023 ds = 00000023
>
>
>
> fs = 0000003b gs = 00000000
>
>
>
> eip = 008c6204 eflags = 00010202
>
>
>
>
>
>
>
> Stack:
>
>
>
> (* marks the word pointed to by the stack pointer)
>
>
>
> 42f9f7c0: 00974071* 01ea9d58 00000000 00b8b0f0 00000028 441013c4
>
>
>
> 42f9f7d8: 009743dd 00b8b0f0 440fcc34 00000028 00000001 440fcc34
>
>
>
> 42f9f7f0: 00974458 441013c4 440fcc34 00b8b0f0 441013d4 00000000
>
>
>
> 42f9f808: 441013c4 008d103a 441013c4 00b8b0f0 00000028 441013c4
>
>
>
>
>
>
>
> Code:
>
>
>
> (* marks the word pointed to by the instruction pointer)
>
>
>
> 008c61d4: ccccc300 cccccccc cccccccc a552b8a1 ccccc300 cccccccc
>
>
>
> 008c61ec: cccccccc a552bca1 ccccc300 cccccccc cccccccc 08244c8b
>
>
>
> 008c6204: b808518b* 00010000 0774d085 0424548b c3044289 cccccccc
>
>
>
> 008c621c: cccccccc a8f1e8a1 ccccc300 cccccccc cccccccc a8f1f0a1
>
>
>
>
>
>
>
> Loaded modules:
>
>
>
> (* denotes the module causing the exception)
>
>
>
> 00400000-00411fff E:\bea\jrockit_160_05\bin\javaw.exe
>
>
>
> 7c800000-7c8c1fff C:\WINDOWS\system32\ntdll.dll
>
>
>
> 77e40000-77f41fff C:\WINDOWS\system32\kernel32.dll
>
>
>
> 77380000-77410fff C:\WINDOWS\system32\USER32.dll
>
>
>
> 77c00000-77c48fff C:\WINDOWS\system32\GDI32.dll
>
>
>
> 7d1e0000-7d27bfff C:\WINDOWS\system32\ADVAPI32.dll
>
>
>
> 77c50000-77ceffff C:\WINDOWS\system32\RPCRT4.dll
>
>
>
> 76f50000-76f62fff C:\WINDOWS\system32\Secur32.dll
>
>
>
> 77ba0000-77bf9fff C:\WINDOWS\system32\MSVCRT.dll
>
>
>
> 7c340000-7c395fff E:\bea\jrockit_160_05\jre\bin\msvcr71.dll
>
>
>
> 00830000-00ad3fff *E:\bea\jrockit_160_05\jre\bin\jrockit\jvm.dll
>
>
>
> 76aa0000-76accfff C:\WINDOWS\system32\WINMM.dll
>
>
>
> 71c00000-71c16fff C:\WINDOWS\system32\WS2_32.dll
>
>
>
> 71bf0000-71bf7fff C:\WINDOWS\system32\WS2HELP.dll
>
>
>
> 71bc0000-71bc7fff C:\WINDOWS\system32\rdpsnd.dll
>
>
>
> 771f0000-77200fff C:\WINDOWS\system32\WINSTA.dll
>
>
>
> 71c40000-71c96fff C:\WINDOWS\system32\NETAPI32.dll
>
>
>
> 76b70000-76b7afff C:\WINDOWS\system32\PSAPI.DLL
>
>
>
> 6d820000-6d82bfff E:\bea\jrockit_160_05\jre\bin\verify.dll
>
>
>
> 6d3c0000-6d3defff E:\bea\jrockit_160_05\jre\bin\java.dll
>
>
>
> 6d320000-6d327fff E:\bea\jrockit_160_05\jre\bin\hpi.dll
>
>
>
> 6d860000-6d86efff E:\bea\jrockit_160_05\jre\bin\zip.dll
>
>
>
> 6d620000-6d632fff E:\bea\jrockit_160_05\jre\bin\net.dll
>
>
>
> 71b20000-71b60fff C:\WINDOWS\system32\mswsock.dll
>
>
>
> 5f270000-5f2c9fff C:\WINDOWS\system32\hnetcfg.dll
>
>
>
> 71ae0000-71ae7fff C:\WINDOWS\System32\wshtcpip.dll
>
>
>
> 68000000-68034fff C:\WINDOWS\system32\rsaenh.dll
>
>
>
> 76920000-769e1fff C:\WINDOWS\system32\USERENV.dll
>
>
>
> 76ed0000-76ef9fff C:\WINDOWS\system32\DNSAPI.dll
>
>
>
> 76f70000-76f76fff C:\WINDOWS\System32\winrnr.dll
>
>
>
> 76f10000-76f3dfff C:\WINDOWS\system32\WLDAP32.dll
>
>
>
> 76f80000-76f84fff C:\WINDOWS\system32\rasadhlp.dll
>
>
>
> 47dd0000-47ee2fff E:\bea\jrockit_160_05\jre\bin\dbghelp.dll
>
>
>
>
>
>
>
>
>
>
>
> "pool-1-thread-36" id=47 idx=0xd8 tid=6164 lastJavaFrame=0x42F9F998
>
>
>
>
>
>
>
> Stack 0: start=0x42F60000, end=0x42FA0000, guards=0x42F63000 (ok),
> forbidden=0x42F61000
>
>
>
> Thread Stack Trace:
>
>
>
> at javalockInitLockword+4(javalock.c:2811+4)@0x008C6204
>
>
>
> at mmAllocObjectOrArray+385(objalloc.c:250+10)@0x00974071
>
>
>
> at mmAllocArrayInner+77(objalloc.c:619+25)@0x009743DD
>
>
>
> at mmAllocArray+104(objalloc.c:647+11)@0x00974458
>
>
>
> at jniNewAddressArray2+26(jniarray.c:442+26)@0x008D103A
>
>
>
> at setup_catch_exception+273(exceptionhandler.c:439+0)@0x00886E51
>
>
>
> at excCheckUnprocessedException+267(exceptionhandler.c:488+0)@0x00886FBB
>
>
>
> at tsCheckTransitToJava+30(execution.c:1414+12)@0x00888C2E
>
>
>
> -- Java stack --
>
>
>
> at jrockit/vm/ExceptionHandler.throwPendingType()V(Native Method)
>
>
>
> at jrockit/vm/RNI.callMarker()V(RNI.java)
>
>
>
> at jrockit/vm/Allocator.allocArray(Allocator.java:744)[optimized]
>
>
>
> at java/nio/CharBuffer.allocate(CharBuffer.java:95)
>
>
>
> at sun/nio/cs/StreamEncoder.flushLeftoverChar(StreamEncoder.java:214)
>
>
>
> at sun/nio/cs/StreamEncoder.implClose(StreamEncoder.java:282)
>
>
>
> at sun/nio/cs/StreamEncoder.close(StreamEncoder.java:130)
>
>
>
> ^-- Holding lock: java/io/OutputStreamWriter@0x0284F2F8[thin lock]
>
>
>
> at java/io/OutputStreamWriter.close(OutputStreamWriter.java:216)
>
>
>
> at org/postgresql/core/PGStream.close(PGStream.java:531)[inlined]
>
>
>
> at
> org/postgresql/core/v3/ProtocolConnectionImpl.close(ProtocolConnectionImpl.java:138)[optimized]
>
>
>
> at
> org/postgresql/jdbc2/AbstractJdbc2Connection.close(AbstractJdbc2Connection.java:537)[optimized]
>
>
>
> at
> org/hibernate/connection/DriverManagerConnectionProvider.closeConnection(DriverManagerConnectionProvider.java:160)
>
>
>
> at
> org/hibernate/jdbc/ConnectionManager.closeConnection(ConnectionManager.java:474)
>
>
>
> at
> org/hibernate/jdbc/ConnectionManager.aggressiveRelease(ConnectionManager.java:429)
>
>
>
> at
> org/hibernate/jdbc/ConnectionManager.afterTransaction(ConnectionManager.java:316)
>
>
>
> at
> org/hibernate/jdbc/JDBCContext.afterTransactionCompletion(JDBCContext.java:269)[inlined]
>
>
>
> at
> org/hibernate/transaction/JDBCTransaction.commit(JDBCTransaction.java:146)[optimized]
>
>
>
> at
> com/altbu/dao/OBUPeriodicDataDao.insert(OBUPeriodicDataDao.java:21)[optimized]
>
>
>
> at com/altbu/db/ConnectDB.insertPeriodicData(ConnectDB.java:29)[inlined]
>
>
>
> at com/altbu/comm/Parser.insertPeriodicRecord(Parser.java:423)[inlined]
>
>
>
> at com/altbu/comm/Parser.parseAndUpdate(Parser.java:46)[optimized]
>
>
>
> at com/altbu/comm/OBUTask.parseAndUpdate(OBUTask.java:205)[inlined]
>
>
>
> at com/altbu/comm/OBUTask.run(OBUTask.java:47)[optimized]
>
>
>
> at
> java/util/concurrent/ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)[optimized]
>
>
>
> at
> java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>
>
>
> at java/lang/Thread.run(Thread.java:619)
>
>
>
> at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
>
>
>
> -- end of trace
>
>
>
> Pending Exception:
>
>
>
> java/lang/NullPointerException:
>
>
>
> --- End of stack trace
>
>
>
>
>
>
>
> **********************************************************
>
>
>
> * If you see this dump, please go to *
>
>
>
> * http://edocs.bea.com/jrockit/go2troubleshooting.html *
>
>
>
> * for troubleshooting information. *
>
>
>
> **********************************************************
>
>
>
>
>
>
>
> ===== END DUMP
> ===============================================================
>
>
>
>
>
> Regards,
>
> Rajesh Sundar S
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2010-12-07 11:23 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-04-16 21:29 Out of memory exception Tao Yang <tyang@cloverworxs.com>
2004-04-20 23:48 ` Oliver Jowett <oliver@opencloud.com>
2010-12-07 05:41 Out Of memory Exception Rajeshsundar Subramanian <Rajeshsundar.Subramanian@defiance-tech.com>
2010-12-07 06:11 ` Re: Out Of memory Exception Maciek Sakrejda <msakrejda@truviso.com>
2010-12-07 09:59 ` Re: Out Of memory Exception Guillaume Cottenceau <gc@mnc.ch>
2010-12-07 11:23 ` Re: Out Of memory Exception Dave Cramer <pg@fastcrypt.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox