Install oracle9.2 fail in java.lang.outofmemoryerror
I have download Oracle9.2 for win2000 from otn.
But installer stop on 34%,the oraInstall2002-07-10_09-15-16AM.err file show:
java.lang.OutOfMemoryError
<<no stack trace available>>
What's the matter?
I had the same problem, modifying the file Disk1\install\oraparam.ini, setting the new maximum heap size helped
JRE_MEMORY_OPTIONS=" -mx512m"
Don't know why, but heap size was quite low before and memory consumption went up to 140 mb during the installation.
Gilbert
Similar Messages
-
XML Publisher report failing with java.lang.outofmemoryerror.
Hi,
We have developed a custom Oracle report that produces an XML output file that is about 13M in size (about 18K rows from the database). When running report as concurrent request, post processing fails with java.lang.outofmemoryerror. The failure occurs when specifying output format as Excel, RTF or HTML. However, the process completes successfully when specifying output format as PDF. We have also noticed that Excel, RTF and HTML will complete successfully if the XML data file is smaller (around 3M).
Is anyone aware of a restriction on the size of the XML data file when specifying output formats Excel, RTF or HTML? We have tried setting temp directory but that has not helped.
Thanks.Hi
I found this at metalink [Note:390968.1].. hope it helps =)
Symptoms: When attempting to run an XML Publisher concurrent program the following error occurs:
ERROR: Warning!!! Got out of memory exception, retrying with scalable option..
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
Oracle.apps.xdo.oa.cp.JCP4XDODataEngine
Program exited with status 1
Solution: To implement the solution, please execute the following steps:
1. Login select the responsibility: System Administrator.
2. Navigate to Concurrent > Program > Define.
3. Query for concurrent program that is receiving the error.
4. In the 'Options' field please enter -Xmx512M.
5. Save the change and retest the issue.
6. If the report still fails with the option set to -Xmx512M change the value to -Xmx1024M, save and try again
7. Migrate the solution as appropriate to other environments. -
Exception in thread "main" java.lang.OutOfMemoryError
When I try to run this program, I get the error, the program is supposed to display 400 prime numbers. Is it because of the system I am running it on?
System: OSX, 256 Ram, 1.25GHz,Hi,
Please refer to the following note in Metalink , This may solve your problem.
Note:315477.1 : XML Report Publisher Fails With java.lang.OutOfMemoryError
Kind Regards,
Mahi -
Servlet failed with Exception java.lang.OutOfMemoryError: PermGen space
Hello,
I recently installed BI Apps 11.1.1.7.1 on Oracle Linux 64.
while i am trying to run the full load i.e. SDE, SILOS and PLP and sometimes while trying to access BIA Configuration Manager..I get below error. while i tried to increase the heap size to 2gb in SetOBIDomain.sh for both bi_server1 and odi_sever1.sh, it is not really affected i.e. i dont see the updated arguments while trying to re start these managed servers. i tried to restart the box and it still did not work...Any idea on where exactly to change/update the parameters to increase the heap size and any other known issues cauing out of memory issues.
<Sep 30, 2013 11:55:44 AM EDT> <Error> <HTTP> <BEA-101020> <[ServletContext@263264514[app:oracle.biacm module:biacm path:/biacm spec-version:2.5 version:11.1.1.7.1]] Servlet failed with Exception
java.lang.OutOfMemoryError: PermGen space
Thank You in advance
RakeshHi Fabian,
It seems that you have got out of memory due to PermGen space, hence increase the MaxPermGen space
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
Also you can go through the below posts to get more details about JVM architecture and more details about Out of memory
Topic: Parts Of JVM And JVM Architecture Diagram?
http://middlewaremagic.com/weblogic/?p=4456
Topic: OutOfMemory Causes and First Aid Steps?
http://middlewaremagic.com/weblogic/?p=4464
Regards,
Ravish Mody
http://middlewaremagic.com/weblogic/
Come, Join Us and Experience The Magic… -
CREATE PDF fails with ALC-PDG-null-Generic Log Message java.lang.OutOfMemoryError
Adobe LiveCycle PDF Generator ES (Version: 8.2.1)
The CREATE PDF service fails. It does not convert word documents to PDF. It used to work earlier. We haven't changed any configuration. The Server.log has the below entries:
2014-01-07 10:18:49,536 INFO [com.adobe.pdfg.GeneratePDFImpl] ALC-PDG-001-000-
Job ID for the submitted createPDF job =BXU004275.docx911bb3-b13cac-ba31d8-1e253f-c932e7-fa2bf0
2014-01-07 10:18:52,176 INFO [com.adobe.pdfg.BMCCaller] ALC-PDG-001-024-BXU004275.docx: Time Job Submitted: 1/7/14 10:18 AM
2014-01-07 10:18:52,458 INFO [com.adobe.pdfg.BMCCaller] ALC-PDG-001-021-BXU004275.docx: PDF Settings Used: pdfg Standard 55865
2014-01-07 10:18:52,458 INFO [com.adobe.pdfg.BMCCaller] ALC-PDG-001-022-BXU004275.docx: Security Settings Used: No Security
2014-01-07 10:18:52,458 INFO [com.adobe.pdfg.BMCCaller] ALC-PDG-001-023-BXU004275.docx: FileType Settings Used: Standard
2014-01-07 10:18:52,458 INFO [com.adobe.pdfg.BMCCaller] ALC-PDG-001-017-BXU004275.docx: Job Submitted by User: administrator
2014-01-07 10:18:52,536 INFO [com.adobe.service.ProcessResource] BMC505: Service PDFMakerSvc: Starting native process with command line "C:\\Adobe\\LiveCycle8.2\\jboss\\server\\all\\svcnative\\PDFMakerSvc\\bin\\dll\\pdfgen.ex e" PDF-PD1936a0002 -beginExecutable "C:\\Java\\jdk1.5.0_14\\jre\\bin\\javaw.exe" -endExecutable -Xmx64m -cp "C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/adobe-appmon.jar;C:/Ado be/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/adobe-appmondata.jar;C:/Adobe/L iveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/adobe-bslj.jar;C:/Adobe/LiveCycle8. 2/jboss/server/all/svcnative/PDFMakerSvc/bin/adobe-csa.jar;C:/Adobe/LiveCycle8.2/jboss/ser ver/all/svcnative/PDFMakerSvc/bin/adobe-generatepdf-client.jar;C:/Adobe/LiveCycle8.2/jboss /server/all/svcnative/PDFMakerSvc/bin/adobe-pdfg-common-jaxb.jar;C:/Adobe/LiveCycle8.2/jbo ss/server/all/svcnative/PDFMakerSvc/bin/adobe-pdfg-common.jar;C:/Adobe/LiveCycle8.2/jboss/ server/all/svcnative/PDFMakerSvc/bin/adobe-pdfg-commonbmc.jar;C:/Adobe/LiveCycle8.2/jboss/ server/all/svcnative/PDFMakerSvc/bin/adobe-pdfg-idl-bmc-websphere.jar;C:/Adobe/LiveCycle8. 2/jboss/server/all/svcnative/PDFMakerSvc/bin/adobe-pdfg-idl-bmc.jar;C:/Adobe/LiveCycle8.2/ jboss/server/all/svcnative/PDFMakerSvc/bin/adobe-utilities.jar;C:/Adobe/LiveCycle8.2/jboss /server/all/svcnative/PDFMakerSvc/bin/avalon-framework-4.1.5.jar;C:/Adobe/LiveCycle8.2/jbo ss/server/all/svcnative/PDFMakerSvc/bin/comfyj-2.4.jar;C:/Adobe/LiveCycle8.2/jboss/server/ all/svcnative/PDFMakerSvc/bin/jacorb.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/ PDFMakerSvc/bin/jaxb-api.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/ bin/jaxb-impl.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jaxb-li bs.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_acrobat1 .1.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_autocad1 .1.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_autocad2 007.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_excel1. 3.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_pdfmapi1. 0.jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_ppt2.6.ja r;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_project4.4.ja r;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_publisher1.0. jar;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_visio4.a.ja r;C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniw2.9.5_word8.1.jar;C :/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/jniwrap-3.6.1.jar;C:/Adobe /LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/logkit-1.2.jar;C:/Adobe/LiveCycle 8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/namespace.jar;C:/Adobe/LiveCycle8.2/jboss/s erver/all/svcnative/PDFMakerSvc/bin/PDFMakerConverterServer.jar;C:/Adobe/LiveCycle8.2/jbos s/server/all/svcnative/PDFMakerSvc/bin/winpack-3.6.jar;C:/Adobe/LiveCycle8.2/jboss/server/ all/svcnative/ServicesNatives2/jars/adobe-bslj.jar" com.adobe.native2pdf.bmc.PDFMakerServer -IOR IOR:000000000000002249444C3A636F6D2F61646F62652F736572766963652F4D616E616765723A312E30000 0000000000200000000000000D8000102000000000D31302E32302E3133302E353200000DC8000000134A426F7 3732F42522D312F010000000000000000000000050000000000000008000000004A414300000000010000001C0 000000000010001000000010501000100010109000000010501000100000021000000500000000000000001000 0000000000024000000200000007E00000000000000010000000D31302E32302E3133302E353200000DC900000 0000000000000000000000000000000000000000000000000000000002000000004000000000000001F0000000 400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003 -AppServer jboss
2014-01-07 10:18:52,567 INFO [STDOUT] Command line '"C:\Java\jdk1.5.0_14\jre\bin\javaw.exe"'
2014-01-07 10:18:52,770 INFO [STDOUT] [configuration loaded from classpath resource jar:file:/C:/Adobe/LiveCycle8.2/jboss/server/all/svcnative/PDFMakerSvc/bin/adobe-pdfg-com monbmc.jar!/jacorb.properties]
2014-01-07 10:18:53,942 INFO [com.adobe.native2pdf.bmc.WordToPDFConverter] ALC-PDG-001-001-Begin processing job : C:\Documents and Settings\infodba\Local Settings\Temp\pdfg-infodba\6f\40a5-a1cb14-9618a9-a39550-d1e383-217845\native-in.docx
2014-01-07 10:19:04,925 INFO [com.adobe.pdfg.BMCCaller] ALC-PDG-001-016-BXU004275.docx: Job Type: Convert to PDF
2014-01-07 10:19:04,940 INFO [com.adobe.pdfg.BMCCaller] ALC-PDG-001-027-BXU004275.docx: Job Completion Status: Succeeded
2014-01-07 10:19:04,940 INFO [com.adobe.pdfg.BMCCaller] ALC-PDG-001-025-BXU004275.docx: Time Job Completed: 1/7/14 10:19 AM
2014-01-07 10:19:04,940 INFO [com.adobe.pdfg.BMCCaller] ALC-PDG-001-026-BXU004275.docx: Time of Job Execution: 12,764 ms
2014-01-07 10:19:04,940 INFO [com.adobe.aes.web.create.CreatePDFAct] ALC-PDG-001-018-BXU004275.docx: User Connected from Host: 10.2.113.168/10.2.113.168
2014-01-07 10:19:04,940 INFO [com.adobe.aes.web.create.CreatePDFAct] ALC-PDG-001-029-BXU004275.docx: Job Source: Admin UI
2014-01-07 10:19:05,018 ERROR [com.adobe.aes.web.create.CreatePDFAct] ALC-PDG-null-Generic Log Message
java.lang.OutOfMemoryError
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:194)
at com.adobe.idp.Document.passivateInitData(Document.java:1219)
at com.adobe.idp.Document.passivate(Document.java:1055)
at com.adobe.idp.Document.passivate(Document.java:1012)
at com.adobe.idp.Document.getInputStream(Document.java:1524)
at com.adobe.idp.Document.copyToFile(Document.java:1623)
at com.adobe.aes.web.create.CreatePDFAct.execute(CreatePDFAct.java:192)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at com.adobe.aes.web.AesActionServlet.service(AesActionServlet.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.adobe.idp.um.auth.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:154)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)Thanks guys for the response..
I checked the IR and the SAP Basis has been added. Here are the details I got.
Name: SAP_BASIS
Version: 700
SWCV: SAP BASIS 7.00
Available Support Packages: 12
Any more suggesions/feedback will be greatly appreciated.
Thanks -
Migration from Mysql 5 to Oracle fails- java.lang.OutOfMemoryError
Hello Folks,
I m trying to migrate my DB from mysql 5 to Oracle 10g .
I m meeting with some issues.
1) My table data are missing.
2) My foreign key indexing is missed.
Any idea why so?
This is a portion of Error log:
** Started : Wed Dec 20 13:06:56 GMT+05:30 2006
** Workbench Repository : Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
Repository Connection URL: jdbc:oracle:thin:@192.168.0.2:1521:tpss10g
** The following plugins are installed:
** MySQL 3.22/3.23 Plugin, Production Release 10.1.0.4.1
** MySQL 4.X Plugin, Production Release 10.1.0.4.1
** MySQL 5.X Plugin, Beta Release for 10.1.0.4.0
** Active Plugin : MySQL5
EXCEPTION : MySQLSourceModelMap._mapforeignKeys(): nios.root.order_rejection_notice_ibfk_1; Referenced schema not found.
EXCEPTION : MySQLSourceModelMap._mapforeignKeys(): nios.root.trading_partner_2_sm_link_ibfk_2; Referenced schema not found.
java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 12173
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 12173
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 12173
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11823
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 11823
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 11823
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 12152
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 12152
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 12152
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11572
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 11572
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 11572
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11693
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 11693
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 11693
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 11569
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 11569
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 11569
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 11569
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 11569
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 11569
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 11569
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 11569
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **Hello Folks,
I m trying to migrate my DB from mysql 5 to Oracle 10g .
I m meeting with some issues.
1) My table data are missing.
2) My foreign key indexing is missed.
Any idea why so?
This is a portion of Error log:
** Started : Wed Dec 20 13:06:56 GMT+05:30 2006
** Workbench Repository : Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
Repository Connection URL: jdbc:oracle:thin:@192.168.0.2:1521:tpss10g
** The following plugins are installed:
** MySQL 3.22/3.23 Plugin, Production Release 10.1.0.4.1
** MySQL 4.X Plugin, Production Release 10.1.0.4.1
** MySQL 5.X Plugin, Beta Release for 10.1.0.4.0
** Active Plugin : MySQL5
EXCEPTION : MySQLSourceModelMap._mapforeignKeys(): nios.root.order_rejection_notice_ibfk_1; Referenced schema not found.
EXCEPTION : MySQLSourceModelMap._mapforeignKeys(): nios.root.trading_partner_2_sm_link_ibfk_2; Referenced schema not found.
java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 12173
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 12173
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 12173
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11823
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 11823
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 11823
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 12152
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 12152
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 12152
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11572
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 11572
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 11572
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11693
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 11693
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 11693
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 11569
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 11569
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 11569
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 11569
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 11569
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 11569
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
Nested Stack Trace:
** BEGIN NESTED EXCEPTION **
java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 11569
STACKTRACE:
java.lang.ArrayIndexOutOfBoundsException: 11569
at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** END NESTED EXCEPTION ** -
Java.lang.OutOfMemoryError: heap allocation failed
Hi,
I am facing a strange which i cannot debug..
Could anyone let me know what could be the exact reason for this kind of error...
Exception in thread "172.24.36.74:class=SnmpAdaptorServer_172.24.36.74,protocol=snmp,port=161" java.lang.OutOfMemoryError: heap allocation failed
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
at java.net.DatagramSocket.receive(DatagramSocket.java:712)
at com.sun.management.comm.SnmpAdaptorServer.doReceive(SnmpAdaptorServer.java:1367)
at com.sun.management.comm.CommunicatorServer.run(CommunicatorServer.java:617)
at java.lang.Thread.run(Thread.java:595)
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Ur help on this is very much appreciated...
Srinivasan.You are trying to receive a Datagram with an enormous byte array. The maximum size of a UDP datagram is 65535-28=65507 bytes, and the maximum practical size is 534 bytes.
Best practice with UDP is to use a byte array one larger than the largest expected datagram, so you can detect truncations: if the size of the received datagram = the size of the byte array, you received an unexpectedly large message and it has probably been truncated. -
Java.lang.OutOfMemoryError: Failed to fork OS thread
hello guys, how are you ?
my platform
win server 2003
tomcat 5517
jdk IBM SR2 1.5
I'm having a problem I think since we migrated to IBM jdk 1.5.
Jasper Reports and just Jasper reports is thorwing this exception randomly once a week and makes all the tomcat server go down.
java.lang.OutOfMemoryError: Failed to fork OS thread
at java.lang.Thread.startImpl(Native Method)
at java.lang.Thread.start(Thread.java:963)
at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.start(JRThreadSubreportRunner.java:64)
at net.sf.jasperreports.engine.fill.JRFillSubreport.prepare(JRFillSubreport.java:546)I saw the same error when creating images for the report, but the error was in the same place, java.lang.Thread.startImpl(Native Method)any clue ? I cant find anything not even in google about this.
thanks
RodrigoThe problems was solved setting Xmx parameters
for example, your OS has 3 gb RAM.
your java processs is -Xmx1440m, that means almost 1.5 gb .
ok. your process starts, it works for a while.... but at any moment after get that much memory it blows up saying Failed to fork OS thread.
that is because, at least in windows, allows you to allocate as max the half of memory for a process, but you are not counting on java overhead. Then, if it tries to get more "permitted" memory it will blow up because the OS is not allowing to create new threads.
my advice.
1. if you want to allocate a lot of memory, use 40% as max of the total RAM of the OS (in windows) using Xmx params.
2. also, tweak the parameter -XX:ThreadStackSize=128 to reduce it, the default is 512 and that is too much
regards
Rodrigo
[www.rodrigoasensio.com|http://www.rodrigoasensio.com] -
Java.lang.OutOfMemoryError(Native Method)
Hello Everybody,
We hava a java.lang.OutOfMemoryError,the problem weblogic server installed in windows 2003 x64,weblogic version 9.2 MP1,sun jdk 1.5.0_22 32bit,the memory configuration below:
set MEM_ARGS=-server -Xms1024m -Xmx1024m -verbose:gc -Xloggc:%SERVER_NAME%_GC.log -XX:SurvivorRatio=3 -XX:NewSize=512M -XX:MaxNewSize=512M -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC -XX:+HeapDumpOnCtrlBreak -XX:+HeapDumpOnOutOfMemoryError
if "%JAVA_VENDOR%"=="Sun" (
set MEM_ARGS=%MEM_ARGS% %MEM_DEV_ARGS% -XX:MaxPermSize=512m
The error in log below:
####<2013-2-16 上午11时08分15秒 CST> <Error> <Kernel> <CWGK-APP-2> <node2> <[STANDBY] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1360984095564> <BEA-000802> <ExecuteRequest failed
java.lang.OutOfMemoryError.
java.lang.OutOfMemoryError
at java.io.RandomAccessFile.readBytes(Native Method)
at java.io.RandomAccessFile.read(RandomAccessFile.java:315)
at weblogic.diagnostics.archive.FileUtils.readFile(FileUtils.java:46)
at weblogic.diagnostics.archive.filestore.FileIndexMetaInfo.buildIndex(FileIndexMetaInfo.java:403)
at weblogic.diagnostics.archive.filestore.FileIndexMetaInfo.buildIndex(FileIndexMetaInfo.java:319)
at weblogic.diagnostics.archive.filestore.FileDataArchive.computeFullIndices(FileDataArchive.java:521)
at weblogic.diagnostics.archive.filestore.FileDataArchive.computeIndices(FileDataArchive.java:629)
at weblogic.diagnostics.archive.filestore.FileDataIndexer$IndexCommand.run(FileDataIndexer.java:199)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
>
How can i solution the problem?
Please help.Need more log information to diagnose it.
Kinds,
Gabriel Abelha -
Java.lang.OutOfMemoryError: Perm Space in Weblogic10.3
Hi Friends
I installed an weblogic server on my machine with 1GB RAM, windows XP sp2.
I made simple application and deployed it on the server just after few sec of usage the weblogic server is giving this error
java.lang.OutOfMemoryError: Perm Space
i deployed the application in new domain that i created and the application is using the jdbc connection in weblogic rather then the urlI am also getting the error
Weblogic 10.3 gives out of memory
Followings thing I have done
1) Increased the -Xms512m
2) Increased the -Xmx1024m
3) Increased the max perm size in setdomainenv.bat
Is there any other way to resolve this issue I have a 2 GB system .
It is a production machine and the size of the log is around 4 GB .When analysed the log I found many connection refused error
INSIDE Exception
com.logging.LogRuntimeException: Failed to create a socket on 12.356.78.91:1112
at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.j
ava:187)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterce
ptor.java:126)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionIntercepto
r.java:114)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:15)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:30)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:8
9)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterce
ptor.java:126)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionIntercepto
r.java:114)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
at $Proxy160.getCurrentMibValue(Unknown Source)
at com.ServiceBean_asn8tg_WSOImpl.__WL_get_WS(ServiceBean_asn8tg
_WSOImpl.java:9966)
at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.server.ejb.WsEjb.invoke(WsEjb.java:50)
at weblogic.wsee.jaxws.WLSEjbInstanceResolver$WLSEjbInvoker.invoke(WLSEjbInstanceResolver.java:187)
at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:71)
at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257)
at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:134)
at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:272)
at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:185)
at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at weblogic.wsee.jaxws.JAXWSServlet.service(JAXWSServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:209)
Please help me to fix this issue -
BOE hangs, java.lang.OutOfMemoryError: PermGen space,
Good day,
I have an issue when working in the CMC that everything hangs and the following errors appear:
java.lang.OutOfMemoryError: PermGen space
and
Exception in thread "Business Objects - Sessions Clean up" java.lang.OutOfMemoryError: PermGen space
I have tried removing the tomcat service, rebooting and re-installing BOE120Tomcat service.
After I restart Tomcat it works for about 5 mins and the same erros start appearing again.
On startup, this is what appears in the log immediatley:
log4j:WARN Please initialize the log4j system properly.
java.lang.ClassNotFoundException: [Ljava.lang.String;
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:635)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:422)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
10 Mar 2011 11:42:44 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
10 Mar 2011 11:42:44 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/AnalyticalReporting] startup failed due to previous errors
Any ideas?
Many Thanks
DerekNot sure whether this will help you, but this is not the right forum
[Analyzing Out-of-Memory Situations|http://help.sap.com/saphelp_nwesrce/helpdata/en/97/d0de42c02c420da92a7cec346f9168/content.htm]
thanks
G. Lakshmipathi -
"java.lang.OutofMemoryError: PermGen space" mesasge in windows xp 64bit
Hi !!!
I'm using WindowsXp 64bit. As per Mr. HEWizard post SQL Developer on XP x64 Edition "failed to initialize..." I can able to launch Jdeveloper on windowx xp 64 bit. But when I'm trying to create a page, it is giving an error message: "java.lang.OutofMemoryError: PermGen space" in the launcher window and the application is getting hanged.Hi !!
I installed Jdk from the following url : http://www.java.com/en/download/manual.jsp and changed the paths in ..\..\..\jdevstudiobase1111\jdev\binjdev.bat file. When launching the application it is giving error message that :
This product is certified on JDK 1.5.0_06. You are attempting to run on JDK 1.6.0_01. This product may not run correctly on this version of JDK. Continue?
Yes No
Then clicked Yes, then the application launched and when creating the page it is giving the following error message :
java.lang.NoClassDefFoundError: oracle/javatools/buffer/TextBufferFactory
at oracle.bali.xml.dom.buffer.util.EncodingUtils.getTemporaryTextBuffer(EncodingUtils.java:216)
at oracle.bali.xml.addin.XMLSourceNode.getLoadEncoding(XMLSourceNode.java:954)
at oracle.ide.model.TextNode.createReader(TextNode.java:1473)
at oracle.ide.model.TextNode.loadTextBuffer(TextNode.java:278)
at oracle.ide.model.TextNode.openImpl(TextNode.java:519)
at oracle.ide.model.Node.open(Node.java:972)
at oracle.bali.xml.addin.XMLSourceNode._getXmlContext(XMLSourceNode.java:1170)
at oracle.bali.xml.addin.XMLSourceNode.getXmlContext(XMLSourceNode.java:171)
at oracle.adfdtinternal.view.rich.pagelayout.PageTemplateUtils.getInfosFromProjectMetadata(PageTemplateUtils.java:920)
at oracle.adfdtinternal.view.rich.pagelayout.provider.CurrentProjectPageLayoutProvider.getPageLayoutInfos(CurrentProjectPageLayoutProvider.java:40)
at oracle.adfdtinternal.view.rich.pagelayout.registry.PageLayoutRegistry._recreateProjectPageLayoutInfos(PageLayoutRegistry.java:141)
at oracle.adfdtinternal.view.rich.pagelayout.registry.PageLayoutRegistry.<init>(PageLayoutRegistry.java:109)
at oracle.adfdtinternal.view.rich.pagelayout.registry.PageLayoutRegistry.getInstance(PageLayoutRegistry.java:30)
at oracle.adfdtinternal.view.rich.pagelayout.wizard.gui.PageTemplatePanel._initPageTemplateInfoTypes(PageTemplatePanel.java:287)
at oracle.adfdtinternal.view.rich.pagelayout.wizard.gui.PageTemplatePanel.initializeFromState(PageTemplatePanel.java:86)
at oracle.jdeveloper.wizard.common.BaliWizard.invoke(BaliWizard.java:159)
at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:317)
at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:365)
at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1060)
at oracle.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1073)
at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:373)
at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1060)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source) -
Get an java.lang.outofmemoryerror message during installation
hey all!
Since i have searched this forum regarding this problem, and didnt find a solution in an old posts i ask:
I have tried to install oracle 9i on windows xp pro.
everything was go ok , but in the part of trying to install the Oracle Configuration Assistant ,
i got a java.lang.outofmemoryerror error , and now i canot create db with the wizard. as i searchd the forum i read a post claimed that maybe i have a lack of ram on my pc. i have 512mb. could that be the problem? could i try somthing else?
thanks , yairRAM is very cheap. I would stick in at least 1GB on any PC these days, without even thinking about it. Even my Acer netbook came with 1GB of RAM, despite the entire machine costing less than US$300.
That said, 512MB was supposed to be enough to install 9i, according to the installation criteria published at the time.
I would suggest (failing a RAM upgrade), do a software-only installation and run DBCA to create a database as a separate exercise afterwards.
Also make sure you're not running other stuff that would consume physical memory (eg, browsers, word processors, games, media players, desktop search engines, sidebars, anti-virus scanners, third party firewalls and the like) at the time you do the installation.
And don't change any of the default memory suggestions the Database Configuration Assistant makes for you during that part of the process: messing about with those various memory pools can certainly cause fireworks if you aren't sure what you're doing.
If you can upgrade your PC, I would also suggest you look to installing Oracle 10g rather than 9i: it's supported, at least, has long since been pushed off to the depths of ancient history... -
"java.lang.OutOfMemoryError: Java heap space" while trying to read Excel.
Hi Experts,
Here is my query. I'm trying to upload excel data into database table. This excel contains more than 20000 records. I'm storing this data in a vector after reading it & passing this vector as a parameter to another method(not mentioned in the below code) which writes into the database. The code works for records <4000, but fails to read beyond that & throws exception as below.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Java heap space
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:433)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
javax.servlet.ServletException: Java heap space
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
org.apache.jsp.readexcelsap_jsp._jspService(readexcelsap_jsp.java:365)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.OutOfMemoryError: Java heap space
Below is the code for reference. Kindly Help me in getting this heap space error rectified or suggest me alternate ways.
I tried increasing Heap space as googled but in vain.
<%!
private Vector readExcelSheet(String uploadedFilePath, int sheetNo) throws IOException
Vector allRowInfo = null;
try
HSSFSheet sheet= getWorkSheet(uploadedFilePath,sheetNo);
//System.out.println(uploadedFilePath);
//System.out.println(sheetNo);
//System.out.println("--Sheet--"+sheet);
//System.out.println("--Sheet--"+sheet.getLastRowNum());
if(sheet!=null)
allRowInfo = new Vector();
for(int i=0;i<=sheet.getLastRowNum();i++)
HSSFRow row= sheet.getRow(i);
Vector eachRowInfo = new Vector();
for(short j=0;j<row.getLastCellNum();j++)
eachRowInfo.add(getCellContents(row.getCell(j)));
//System.out.println("--"+row.getCell(j));
allRowInfo.add(eachRowInfo);
else
allRowInfo = null;
//return allRowInfo;
catch (FileNotFoundException ex)
System.out.println("-- Error in reading--getWorkSheet -- 1--"+ex);
allRowInfo = null;
catch (IOException ex)
System.out.println("-- Error in reading--getWorkSheet-- 2 --"+ex);
allRowInfo = null;
catch (IndexOutOfBoundsException ex)
System.out.println("-- Error in reading--getWorkSheet-- 2 --"+ex);
allRowInfo = null;
catch (NullPointerException ex)
System.out.println("-- Error in reading--getWorkSheet --"+ex);
allRowInfo = null;
catch(Exception e)
System.out.println(e.getMessage());
e.printStackTrace();
allRowInfo = null;
return allRowInfo;
%>
<%!
private HSSFSheet getWorkSheet(String uploadedFilePath, int sheetNo) throws IOException
HSSFSheet sheet = null;
try
FileInputStream inputStream=new FileInputStream(uploadedFilePath);
POIFSFileSystem poisFile=new POIFSFileSystem(inputStream);
HSSFWorkbook workBook= new HSSFWorkbook(poisFile);
sheet = workBook.getSheetAt(sheetNo);
catch (FileNotFoundException ex)
System.out.println("-- Error in reading--getWorkSheet --"+ex);
sheet = null;
catch (IOException ex)
System.out.println("-- Error in reading--getWorkSheet --"+ex);
sheet = null;
catch (IndexOutOfBoundsException ex)
System.out.println("-- Error in reading--getWorkSheet --"+ex);
sheet = null;
catch (NullPointerException ex)
System.out.println("-- Error in reading--getWorkSheet --"+ex);
sheet = null;
catch(Exception e)
System.out.println(e.getMessage());
e.printStackTrace();
sheet = null;
return sheet;
%>
<%!
public String getCellContents(HSSFCell cell)
String cellValue="";
String cellValue1="";
if(cell!=null)
int cellType= cell.getCellType();
if(cellType==HSSFCell.CELL_TYPE_NUMERIC)
cellValue=(float)cell.getNumericCellValue()+"";
if(cellType==HSSFCell.CELL_TYPE_STRING)
cellValue1=cell.getStringCellValue();
StringBuffer sb = new StringBuffer();
for(int i = 0; i < cellValue1.length(); i++)
sb.append(cellValue1.charAt(i));
if(cellValue1.charAt(i)=='\'')
sb.append('\'');
cellValue = sb.toString();
return cellValue;
%>
<html>
<body>
<%
String file_Name="Myexcel.xls";
String path = "D://Test Upload//"+file_Name;
Vector list = readExcelSheet(path,0);
</html>
</body>Regards
Venky
Edited by: Venky_86 on Jun 17, 2009 6:05 AMHOW did you increase the heap space? As that is the only solution you have in this case really.
It is a known fact that POI can use up a lot of memory for big spreadsheets. If at all possible, I would try to switch to plain text comma separated files / tab delimited files. If you cannot do that, I would try to put a size restriction on the sheets that your application will process to get rid of the heap space risk. A sheet can contain 20000 records, or four sheets can contain 5000 records; in both cases you process the exact same data, but at only 25% of the total memory usage. -
Hi All: Our platform is IBM AIX power system 64 bit, os level 6. Oracle Fusion Middleware version is 10.3.6.0.8. We tried to patch 10.3.6.0.10 on it, but encounter ‘out of memory error’ when applied WebLogic patch 10.3.6.0.10 on UAT report server. Currently UAT has 3GB memory (currently is 3G) .
JVMDUMP006I Processing dump event "systhrow",
detail "java/lang/OutOfMemoryError
JVMDUMP032I JVM requested Heap dump using
'/ora_bin01/u01/oracle/Middleware/utilhd' in response to an event
JVMDUMP010I Heap dump written to
/ora_bin01/u01/oracle/Middleware/utils/bsu/heapdump.20150224.152727.6422620.0001.phd
JVMDUMP032I JVM requested Java dump using
'/ora_bin01/u01/oracle/Middleware/utils/bsu/javacore.20150224.152727.6422620.0002.txt'
in response to an event
JVMDUMP010I Java dump written to
/ora_bin01/u01/oracle/Middleware/utils/bsu/javacore.20150224.152727.6422620.0002.txt
JVMDUMP032I JVM requested Snap dump using
'/ora_bin01/u01/oracle/Middleware/utils/bsu/Snap.20150224.152727.6422620.0003.trc'
in response to an event
JVMDUMP006I Processing dump event "systhrow",
detail "java/lang/OutOfMemoryError" - please wait.
JVMDUMP010I Snap dump written to
/ora_bin01/u01/oracle/Middleware/utils/bsu/Snap.20150224.152727.6422620.0003.trc
JVMDUMP013I Processed dump event "systhrow",
detail "java/lang/OutOfMemoryError".
JVMDUMP032I JVM requested Heap dump using
'/ora_bin01/u01/oracle/Middleware/utils/bsu/heapdump.20150224.152735.6422620.0004.phd'
in response to an event
JVMDUMP010I Heap dump written to
/ora_bin01/u01/oracle/Middleware/utils/bsu/heapdump.20150224.152735.6422620.0004.phd
JVMDUMP032I JVM requested Java dump using
'/ora_bin01/u01/oracle/Middleware/utils/bsu/javacore.20150224.152735.6422620.0005.txt'
in response to an event
JVMDUMP010I Java dump written to
/ora_bin01/u01/oracle/Middleware/utils/bsu/javacore.20150224.152735.6422620.0005.txt
JVMDUMP032I JVM requested Snap dump using
'/ora_bin01/u01/oracle/Middleware/utils/bsu/Snap.20150224.152735.6422620.0006.trc'
in response to an event
Exception in thread "main"
java.lang.OutOfMemoryError at
java.lang.StringBuffer.ensureCapacityImpl(StringBuffer.java:335)
at
java.lang.StringBuffer.append(StringBuffer.java:201)
at
java.lang.Class.throwNoSuchMethodException(Class.java:278)
at
java.lang.Class.getMethod(Class.java:845)
at
com.bea.cie.common.dao.xbean.XBeanDataHandler.isValueSet(XBeanDataHandler.java:958)
at
com.bea.cie.common.dao.xbean.XBeanDataHandler.getValueFromObject(XBeanDataHandler.java:589)
at
com.bea.cie.common.dao.xbean.XBeanDataHandler.getSimpleValue(XBeanDataHandler.java:431)
at
com.bea.plateng.patch.dao.cat.PatchDependency.getRule(PatchDependency.java:48)
at
com.bea.plateng.patch.dao.cat.PatchCatalogHelper.getInvalidatedPatchMap(PatchCatalogHelper.java:1625)
at com.bea.plateng.patch.PatchSystem.updatePatchCatalog(PatchSystem.java:436)
at
com.bea.plateng.patch.PatchSystem.refresh(PatchSystem.java:130)
at
com.bea.plateng.patch.PatchSystem.setCacheDir(PatchSystem.java:201)
at
com.bea.plateng.patch.Patch.main(Patch.java:281)
JVMDUMP010I Snap dump written to
/ora_bin01/u01/oracle/Middleware/utils/bsu/Snap.20150224.152735.6422620.0006.trc
JVMDUMP013I Processed dump event "systhrow",
detail "java/lang/OutOfMemoryError".
Exception in thread "Attach API wait loop"
java.lang.OutOfMemoryError
at
com.ibm.tools.attach.javaSE.CommonDirectory.waitSemaphore(CommonDirectory.java:222)
at
com.ibm.tools.attach.javaSE.AttachHandler$WaitLoop.waitForNotification(AttachHandler.java:329)
at com.ibm.tools.attach.javaSE.AttachHandler$WaitLoop.run(AttachHandler.java:396)
bsu.sh -install -patch_download_dir=/ora_bin01/u01/oracle/Middleware/utils/bsu/cache_dir -patchlist=12UV -prod_dir=/ora_bin01/u01/oracle/Middleware/wlserver_10.3
we followed the README.txt instructions, and stop/start weblogic service before/after apply patch. Can anyone suggest a solution or Doc ID for helping us?
thank you very much!Solutions: Bounce the applications and check the arguments if you can increase it. It is due to memory issue
You can set these values in CommEnv.sh (.cmd for windows) file located in the weblogic_home/common/bin directory.
This gets applied to all the domains under that wls home.
If you want to make the changes to specific domain then edit the SetDomainEnv.sh file located under the domain/bin directory.
How to solve java.lang.OutOfMemoryError: Java heap space
solutions: export JVM_ARGS="-Xms1024m -Xmx1024m"
How to solve java.lang.OutOfMemoryError: PermGen space
solution : export JVM_ARGS="-XX:PermSize=64M -XX:MaxPermSize=256m"
Maybe you are looking for
-
QC Activity based on Material Production Version
Hi, Normally, we perform QC activity based on Material Code, i.e. in Material Master we maintain inspection type in QM View for material which needs QC activation during Good Receipt from Production Is it possible to perform QC Activity based on Prod
-
This suddenly began happening last night after dinner. I've downloaded latest versions of Firefox and Adobe, and have done the Firefox "reset", but it keeps on happening.
-
Tableview selection looks different when using iterator
One more litte question about the htmlb:tableView (Design2003, content-style = "tradeshow", selectMode = "MULTISELECT"). When you select a table line, the line is displayed with an orange background. However, if you use a tableView Iterator where you
-
Can I copy font attributes to many titles at once?
Hi, I really like that CC has introduced the ability to create copies of a title on the timeline... but once you have many, many titles on the timeline is it possible to copy and paste font attributes from one title to all the others? I need to chang
-
Can't update any software or apps through appstore. Updated Itunes after several months by download, install. Using my own Macbook on my network, never had this problem. Re-installed Mountain Lion. Removed file softwareupdate.plist from Library prefe