从excel导入1000多条数据到oracle数据库时,java内存溢出,tomcat报错

tomcat错误日志如下:
#

An unexpected error has been detected by HotSpot Virtual Machine:

#

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c930a19, pid=1168, tid=1936

#

Java VM: Java HotSpot(TM) Client VM (1.5.0_16-b02 mixed mode)

Problematic frame:

C [ntdll.dll+0x10a19]

#

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

Current thread (0x0082d500): JavaThread "Finalizer" daemon [_thread_in_native, id=1936]

siginfo: ExceptionCode=0xc0000005, reading address 0x0030002d

Registers:
EAX=0x0011a358, EBX=0x00080000, ECX=0x0030002d, EDX=0x00350045
ESP=0x0ac8f77c, EBP=0x0ac8f788, ESI=0x0011a350, EDI=0x0011a2e0
EIP=0x7c930a19, EFLAGS=0x00010246

Top of Stack: (sp=0x0ac8f77c)
0x0ac8f77c: 00080000 0011a2f0 00000000 0ac8f85c
0x0ac8f78c: 7c93084c 00143898 0030002d 0ac8f840
0x0ac8f79c: 00000000 00000880 0011a2f8 00000000
0x0ac8f7ac: 00000000 0082ec44 0ac8f7f0 00143898
0x0ac8f7bc: 0782de50 0782de50 0014f1f0 00000008
0x0ac8f7cc: 000801b8 769a2580 00000030 00000028
0x0ac8f7dc: 0011f1c8 0ac8f800 770f4a64 76ab5034
0x0ac8f7ec: 0011f1c8 00000008 00000020 00000003

Instructions: (pc=0x7c930a19)
0x7c930a09: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c
0x7c930a19: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8

Stack: [0x0ac50000,0x0ac90000), sp=0x0ac8f77c, free space=253k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ntdll.dll+0x10a19]
C [ntdll.dll+0x1084c]
C [ole32.dll+0x12024]
C [OLEAUT32.dll+0x2d424]
C [OLEAUT32.dll+0x2c12c]
C [OLEAUT32.dll+0x4f10]
C [OLEAUT32.dll+0x4ea9]
C [OLEAUT32.dll+0x4958]
C [jacob.dll+0x15dc]
j com.jacob.com.Variant.finalize()V+8
v ~StubRoutines::call_stub
V [jvm.dll+0x875fa]
V [jvm.dll+0xdfe2c]
V [jvm.dll+0x874cb]
V [jvm.dll+0x8ca8e]
C [java.dll+0x2006]
j java.lang.ref.Finalizer.runFinalizer()V+45
j java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V+1
j java.lang.ref.Finalizer$FinalizerThread.run()V+11
v ~StubRoutines::call_stub
V [jvm.dll+0x875fa]
V [jvm.dll+0xdfe2c]
V [jvm.dll+0x874cb]
V [jvm.dll+0x87228]
V [jvm.dll+0xa2093]
V [jvm.dll+0x111379]
V [jvm.dll+0x111347]
C [MSVCRT.dll+0x2a3b0]
C [kernel32.dll+0xb699]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.jacob.com.Variant.release()V+0
j com.jacob.com.Variant.finalize()V+8
v ~StubRoutines::call_stub
j java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V+0
j java.lang.ref.Finalizer.runFinalizer()V+45
j java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V+1
j java.lang.ref.Finalizer$FinalizerThread.run()V+11
v ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
0x0c9823a0 JavaThread "Thread-28" daemon [_thread_blocked, id=2680]
0x0c913490 JavaThread "File Reaper" daemon [_thread_blocked, id=4368]
0x0c8fe390 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2568]
0x0c8fc440 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1932]
0x0bf80470 JavaThread "http-8080-19" daemon [_thread_blocked, id=4280]
0x0bf4ee70 JavaThread "http-8080-18" daemon [_thread_blocked, id=4276]
0x0bf798b0 JavaThread "http-8080-17" daemon [_thread_blocked, id=4272]
0x0bf78470 JavaThread "http-8080-16" daemon [_thread_blocked, id=4268]
0x0bf773d0 JavaThread "http-8080-15" daemon [_thread_blocked, id=4264]
0x0bf77690 JavaThread "http-8080-14" daemon [_thread_blocked, id=4260]
0x0bf76e70 JavaThread "http-8080-13" daemon [_thread_blocked, id=4256]
0x0bf74020 JavaThread "http-8080-12" daemon [_thread_blocked, id=4248]
0x0bf69320 JavaThread "http-8080-11" daemon [_thread_blocked, id=1108]
0x0bf45100 JavaThread "http-8080-10" daemon [_thread_blocked, id=3744]
0x0bf56a70 JavaThread "http-8080-9" daemon [_thread_blocked, id=1836]
0x0bf55670 JavaThread "http-8080-8" daemon [_thread_blocked, id=4012]
0x0bf543a0 JavaThread "http-8080-7" daemon [_thread_blocked, id=456]
0x0bf52150 JavaThread "http-8080-6" daemon [_thread_blocked, id=616]
0x0bf523c0 JavaThread "http-8080-5" daemon [_thread_blocked, id=2848]
0x0bf52ca0 JavaThread "http-8080-4" daemon [_thread_blocked, id=1456]
0x0bf51e70 JavaThread "http-8080-3" daemon [_thread_blocked, id=3000]
0x0bf4f990 JavaThread "http-8080-2" daemon [_thread_blocked, id=888]
0x0becc770 JavaThread "http-8080-1" daemon [_thread_blocked, id=2136]
0x0bf02e70 JavaThread "TP-Monitor" daemon [_thread_blocked, id=3776]
0x0bf00470 JavaThread "TP-Processor4" daemon [_thread_in_native, id=3696]
0x0bef9ce0 JavaThread "TP-Processor3" daemon [_thread_blocked, id=2376]
0x0bef6980 JavaThread "TP-Processor2" daemon [_thread_blocked, id=2864]
0x0bef75d0 JavaThread "TP-Processor1" daemon [_thread_blocked, id=564]
0x008a7bd0 JavaThread "http-8080-Acceptor-0" daemon [_thread_in_native, id=924]
0x0089a170 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_in_native, id=3272]
0x008b75d0 JavaThread "Thread-1" daemon [_thread_blocked, id=1160]
0x008890a0 JavaThread "GC Daemon" daemon [_thread_blocked, id=2688]
0x00844cd0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2444]
0x00842550 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3820]
0x00840e20 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3968]
0x008370f0 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=4052]
0x00836370 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=2576]
0x00835cb0 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=1448]
=>0x0082d500 JavaThread "Finalizer" daemon [_thread_in_native, id=1936]
0x0082c250 JavaThread "Reference Handler" daemon [_thread_blocked, id=2400]
0x00823120 JavaThread "main" [_thread_in_native, id=416]

Other Threads:
0x0082b530 VMThread [id=2092]
0x00845360 WatcherThread [id=2060]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 3264K, used 73K [0x02bd0000, 0x02f50000, 0x030b0000)
eden space 2944K, 2% used [0x02bd0000, 0x02be25c0, 0x02eb0000)
from space 320K, 0% used [0x02eb0000, 0x02eb0000, 0x02f00000)
to space 320K, 0% used [0x02f00000, 0x02f00000, 0x02f50000)
tenured generation total 42212K, used 19496K [0x030b0000, 0x059e9000, 0x06bd0000)
the space 42212K, 46% used [0x030b0000, 0x043ba330, 0x043ba400, 0x059e9000)
compacting perm gen total 36608K, used 36359K [0x06bd0000, 0x08f90000, 0x0abd0000)
the space 36608K, 99% used [0x06bd0000, 0x08f51dd8, 0x08f51e00, 0x08f90000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0040d000 C:\java\jre1.5.0_16\bin\javaw.exe
0x7c920000 - 0x7c9b6000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c91d000 C:\WINDOWS\system32\kernel32.dll
0x77da0000 - 0x77e49000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e50000 - 0x77ee2000 C:\WINDOWS\system32\RPCRT4.dll
0x77fc0000 - 0x77fd1000 C:\WINDOWS\system32\Secur32.dll
0x77d10000 - 0x77d9f000 C:\WINDOWS\system32\USER32.dll
0x77ef0000 - 0x77f38000 C:\WINDOWS\system32\GDI32.dll
0x77be0000 - 0x77c38000 C:\WINDOWS\system32\MSVCRT.dll
0x76300000 - 0x7631d000 C:\WINDOWS\system32\IMM32.DLL
0x62c20000 - 0x62c29000 C:\WINDOWS\system32\LPK.DLL
0x73fa0000 - 0x7400b000 C:\WINDOWS\system32\USP10.dll
0x6d640000 - 0x6d7de000 C:\java\jre1.5.0_16\bin\client\jvm.dll
0x76b10000 - 0x76b3a000 C:\WINDOWS\system32\WINMM.dll
0x6d290000 - 0x6d298000 C:\java\jre1.5.0_16\bin\hpi.dll
0x76bc0000 - 0x76bcb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d390000 - 0x6d3c5000 C:\java\jre1.5.0_16\bin\jdwp.dll
0x6d610000 - 0x6d61c000 C:\java\jre1.5.0_16\bin\verify.dll
0x6d310000 - 0x6d32d000 C:\java\jre1.5.0_16\bin\java.dll
0x6d630000 - 0x6d63f000 C:\java\jre1.5.0_16\bin\zip.dll
0x6d220000 - 0x6d227000 C:\java\jre1.5.0_16\bin\dt_socket.dll
0x71a20000 - 0x71a37000 C:\WINDOWS\system32\WS2_32.dll
0x71a10000 - 0x71a18000 C:\WINDOWS\system32\WS2HELP.dll
0x719c0000 - 0x719fe000 C:\WINDOWS\System32\mswsock.dll
0x76ef0000 - 0x76f17000 C:\WINDOWS\system32\DNSAPI.dll
0x76f80000 - 0x76f88000 C:\WINDOWS\System32\winrnr.dll
0x76f30000 - 0x76f5c000 C:\WINDOWS\system32\WLDAP32.dll
0x64000000 - 0x64025000 C:\Program Files\Bonjour\mdnsNSP.dll
0x76d30000 - 0x76d48000 C:\WINDOWS\system32\Iphlpapi.dll
0x76f90000 - 0x76f96000 C:\WINDOWS\system32\rasadhlp.dll
0x60fd0000 - 0x61025000 C:\WINDOWS\system32\hnetcfg.dll
0x71a00000 - 0x71a08000 C:\WINDOWS\System32\wshtcpip.dll
0x6d4c0000 - 0x6d4c8000 C:\java\jre1.5.0_16\bin\management.dll
0x6d190000 - 0x6d1bf000 C:\java\jre1.5.0_16\bin\cmm.dll
0x6d3d0000 - 0x6d3ef000 C:\java\jre1.5.0_16\bin\jpeg.dll
0x6d4d0000 - 0x6d4e3000 C:\java\jre1.5.0_16\bin\net.dll
0x6d000000 - 0x6d16d000 C:\java\jre1.5.0_16\bin\awt.dll
0x72f70000 - 0x72f96000 C:\WINDOWS\system32\WINSPOOL.DRV
0x76990000 - 0x76acc000 C:\WINDOWS\system32\ole32.dll
0x5adc0000 - 0x5adf7000 C:\WINDOWS\system32\uxtheme.dll
0x736d0000 - 0x73719000 C:\WINDOWS\system32\ddraw.dll
0x73b30000 - 0x73b36000 C:\WINDOWS\system32\DCIMAN32.dll
0x6d240000 - 0x6d290000 C:\java\jre1.5.0_16\bin\fontmanager.dll
0x74680000 - 0x746cb000 C:\WINDOWS\system32\MSCTF.dll
0x73640000 - 0x7366e000 C:\WINDOWS\system32\msctfime.ime
0x6d4f0000 - 0x6d4f9000 C:\java\jre1.5.0_16\bin\nio.dll
0x0ffd0000 - 0x0fff8000 C:\WINDOWS\system32\rsaenh.dll
0x759d0000 - 0x75a7e000 C:\WINDOWS\system32\USERENV.dll
0x5fdd0000 - 0x5fe24000 C:\WINDOWS\system32\netapi32.dll
0x10000000 - 0x10018000 C:\java\jre1.5.0_16\bin\jacob.dll
0x770f0000 - 0x7717c000 C:\WINDOWS\system32\OLEAUT32.dll
0x76fa0000 - 0x7701f000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77020000 - 0x770ba000 C:\WINDOWS\system32\COMRes.dll
0x77bd0000 - 0x77bd8000 C:\WINDOWS\system32\VERSION.dll
0x0cce0000 - 0x0cfa6000 C:\WINDOWS\system32\msi.dll
0x20000000 - 0x20549000 C:\WINDOWS\system32\xpsp2res.dll
0x0d070000 - 0x0d475000 D:\dll\PrnSheetDll.dll
0x5d170000 - 0x5d207000 C:\WINDOWS\system32\comctl32.dll
0x7d590000 - 0x7dd83000 C:\WINDOWS\system32\shell32.dll
0x77f40000 - 0x77fb6000 C:\WINDOWS\system32\SHLWAPI.dll
0x76320000 - 0x76367000 C:\WINDOWS\system32\comdlg32.dll
0x77180000 - 0x77282000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x5efe0000 - 0x5eff7000 C:\WINDOWS\system32\olepro32.dll
0x75e00000 - 0x75eae000 C:\WINDOWS\system32\SXS.DLL
0x4dd10000 - 0x4dd93000 C:\Program Files\Common Files\System\ado\msado15.dll
0x75b50000 - 0x75b75000 C:\WINDOWS\system32\MSDART.DLL
0x1b5d0000 - 0x1b665000 C:\WINDOWS\system32\MSWSTR10.DLL
0x72d70000 - 0x72de7000 C:\Program Files\Common Files\System\Ole DB\oledb32.dll
0x74fa0000 - 0x74fb1000 C:\Program Files\Common Files\System\Ole DB\OLEDB32R.DLL
0x0d8e0000 - 0x0d94d000 D:\oracle\product\10.2.0\db_1\bin\OraOLEDB10.DLL
0x44100000 - 0x44120000 D:\oracle\product\10.2.0\db_1\bin\OraOLEDBgmr10.dll
0x61c20000 - 0x61e72000 D:\oracle\product\10.2.0\db_1\bin\oraclient10.dll
0x60870000 - 0x60953000 D:\oracle\product\10.2.0\db_1\bin\oracore10.dll
0x60a80000 - 0x60b44000 D:\oracle\product\10.2.0\db_1\bin\oranls10.dll
0x63690000 - 0x636a8000 D:\oracle\product\10.2.0\db_1\bin\oraunls10.dll
0x7c340000 - 0x7c396000 D:\oracle\product\10.2.0\db_1\bin\MSVCR71.dll
0x60eb0000 - 0x60eb7000 D:\oracle\product\10.2.0\db_1\bin\orauts.dll
0x636b0000 - 0x636b6000 D:\oracle\product\10.2.0\db_1\bin\oravsn10.dll
0x0d950000 - 0x0da42000 D:\oracle\product\10.2.0\db_1\bin\oracommon10.dll
0x60300000 - 0x60857000 D:\oracle\product\10.2.0\db_1\bin\orageneric10.dll
0x63430000 - 0x63457000 D:\oracle\product\10.2.0\db_1\bin\orasnls10.dll
0x0da50000 - 0x0dbb0000 D:\oracle\product\10.2.0\db_1\bin\oraxml10.dll
0x0dbb0000 - 0x0dbc1000 C:\WINDOWS\system32\MSVCIRT.dll
0x60960000 - 0x60a6d000 D:\oracle\product\10.2.0\db_1\bin\oran10.dll
0x62740000 - 0x6277d000 D:\oracle\product\10.2.0\db_1\bin\oranl10.dll
0x62790000 - 0x627a7000 D:\oracle\product\10.2.0\db_1\bin\oranldap10.dll
0x627f0000 - 0x628f9000 D:\oracle\product\10.2.0\db_1\bin\orannzsbb10.dll
0x62530000 - 0x62583000 D:\oracle\product\10.2.0\db_1\bin\oraldapclnt10.dll
0x62670000 - 0x6268b000 D:\oracle\product\10.2.0\db_1\bin\orancrypt10.dll
0x71a40000 - 0x71a4b000 C:\WINDOWS\system32\WSOCK32.dll
0x62920000 - 0x6296c000 D:\oracle\product\10.2.0\db_1\bin\oranro10.dll
0x626b0000 - 0x626b7000 D:\oracle\product\10.2.0\db_1\bin\oranhost10.dll
0x62660000 - 0x62666000 D:\oracle\product\10.2.0\db_1\bin\orancds10.dll
0x629c0000 - 0x629c8000 D:\oracle\product\10.2.0\db_1\bin\orantns10.dll
0x60b50000 - 0x60ea8000 D:\oracle\product\10.2.0\db_1\bin\orapls10.dll
0x0dbd0000 - 0x0dbd9000 D:\oracle\product\10.2.0\db_1\bin\oraslax10.dll
0x63080000 - 0x63284000 D:\oracle\product\10.2.0\db_1\bin\oraplp10.dll
0x61ed0000 - 0x61f5b000 D:\oracle\product\10.2.0\db_1\bin\orahasgen10.dll
0x62ab0000 - 0x62b1a000 D:\oracle\product\10.2.0\db_1\bin\oraocr10.dll
0x62b20000 - 0x62b60000 D:\oracle\product\10.2.0\db_1\bin\oraocrb10.dll
0x62980000 - 0x62990000 D:\oracle\product\10.2.0\db_1\bin\orantcp10.dll
0x0dbe0000 - 0x0dc7a000 D:\oracle\product\10.2.0\db_1\bin\orasql10.dll
0x44400000 - 0x44423000 D:\oracle\product\10.2.0\db_1\bin\OraOLEDBrst10.dll
0x44700000 - 0x44707000 D:\oracle\product\10.2.0\db_1\bin\OraOLEDButl10.dll
0x44300000 - 0x44306000 D:\oracle\product\10.2.0\db_1\bin\OraOLEDB10zhs.dll
0x44200000 - 0x44208000 D:\oracle\product\10.2.0\db_1\bin\OraOLEDBpus10.dll
0x75690000 - 0x757ca000 C:\WINDOWS\system32\comsvcs.dll
0x75050000 - 0x75063000 C:\WINDOWS\system32\MTXCLU.DLL
0x75090000 - 0x750a4000 C:\WINDOWS\system32\colbact.DLL
0x762a0000 - 0x762b1000 C:\WINDOWS\system32\CLUSAPI.DLL
0x75010000 - 0x75022000 C:\WINDOWS\system32\RESUTILS.DLL
0x71f00000 - 0x71f04000 C:\WINDOWS\system32\security.dll
0x77c40000 - 0x77c64000 C:\WINDOWS\system32\msv1_0.dll
0x76760000 - 0x7676c000 C:\WINDOWS\system32\cryptdll.dll
0x72df0000 - 0x72e41000 C:\Program Files\Common Files\System\msadc\msadce.dll
0x0e590000 - 0x0e595000 C:\Program Files\Common Files\System\msadc\msadcer.dll
0x0e5d0000 - 0x0e5d6000 C:\Program Files\Common Files\System\ado\msader15.dll

VM Arguments:
jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:1666 -Dcatalina.home=D:\tomcat-6.0.24 -Djava.endorsed.dirs=D:\tomcat-6.0.24\endorsed -Dcatalina.base=D:\tomcat-6.0.24 -Djava.io.tmpdir=D:\tomcat-6.0.24\temp -Dfile.encoding=UTF-8
java_command: org.apache.catalina.startup.Bootstrap start
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\java\jdk1.5.0_16
CLASSPATH=.;C:\java\jdk1.5.0_16\dt.jar; C:\java\jdk1.5.0_16\lib\tools.jar; ;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
PATH=C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\ThinkPad Wireless LAN Adapter Software;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\Program Files\Intel\WiFi\bin\;C:\java\JDK1.5.0\bin;C:\Program Files\TortoiseSVN\bin;C:\java\jdk1.5.0_16\bin;C:\java\jdk1.5.0_16\jre\bin;D:\tomcat-6.0.24\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\StormII\Codec;C:\Program Files\StormII
USERNAME=think
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel

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

OS: Windows XP Build 2600 Service Pack 2

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

Memory: 4k page, physical 1958696k(57748k free), swap 3897560k(1530344k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_16-b02) for windows-x86, built on May 28 2008 01:04:49 by "java_re" with MS VC++ 6.0

1个回答

把Tomcat的内存设大点 我博客有相关文章

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问