OLM on content server with ias (10.1.3) java.lang.OutOfMemoryError
Dears,
we have set up OLM on content server with ias (10.1.3)
I'm Facing the following error when uploading 100 M learning material although i have changed the server properties of OC4J java heap size to 1024 - 2048 and maxpermsize to 1024
JSP Error:
Request URI:/OA_HTML/OA.jsp
Exception:
java.lang.OutOfMemoryError
Thanks,
Regards.
PLease refer Husain comments below
"Please see these docs.
OLM Content Import Erroring with java.lang.outofmemoryerror for Large Files [ID 368479.1]
When Importing And/Or Uploading Large Upk-Type Files Fail to Unzip [ID 735653.1]
Out Of Memory Errors While Uploading Large Content [ID 1130960.1]
Utilizing Content Servers with Oracle Learning Management [ID 374677.1]
Thanks,
Hussein"
apart from the above what I would normally is, while zipping the file I would exclude heavy content file and upload the file.
after uploading file, just go and paste excluded file in respective folder.
sathish
Similar Messages
-
Weblogic server start error: java.lang.OutOfMemoryError
Hi:
when i start weblogic server, i met following error !
java.lang.OutOfMemoryError
<<no stack trace available>>
why?
thanks!
starting output as follow :
C:\bea7\user_projects\zhudomain>startweblogic
C:\bea7\user_projects\zhudomain>echo off
CLASSPATH=C:\bea7\jdk131_03\lib\tools.jar;C:\bea7\weblogic700\integration\li
b\wl
pi-worklist.jar;C:\bea7\weblogic700\samples\server\eval\pointbase\lib\pbserv
er42
ECF172.jar;C:\bea7\weblogic700\server\lib\weblogic_sp.jar;C:\bea7\weblogic70
0\se
rver\lib\weblogic.jar;
PATH=.;C:\bea7\weblogic700\server\bin;C:\bea7\jdk131_03\bin;C:\PROGRA~1\RATI
ONAL
\RATION~1\NUTCROOT\bin;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11;C:\PRO
GRA~
1\RATIONAL\RATION~1\NUTCROOT\mksnt;c:\Oracle\Ora81\bin;C:\WINNT\system32;C:\
WINN
T;C:\WINNT\System32\Wbem;C:\PROGRA~1\ULTRAE~1;C:\CTEX\MiKTeX\TeXMF\miktex\bi
n;C:
\CTEX\MiKTeX\LocalT~1\cct\bin;C:\Program Files\Rational\common;C:\Program
Files\
Rational\ClearQuest;C:\Program Files\Rational\Rose\TopLink\;C:\Program
Files\Rat
ional\Rational Test;C:\bea7\jdk131_03\bin
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://[hostname]:[port]/console *
C:\bea7\user_projects\zhudomain>"C:\bea7\jdk131_03\bin\java" -hotspot -Xms32
m -X
mx200m -Dweblogic.security.SSL.trustedCAKeyStore=C:\bea7\weblogic700\server\
lib\
cacerts -Dweblogic.Name=myserver -Dbea.home="C:\bea7" -Dweblogic.management.
user
name= -Dweblogic.management.password= -Dweblogic.ProductionModeEnabled= -Dja
va.s
ecurity.policy="C:\bea7\weblogic700\server\lib\weblogic.policy"
weblogic.Server
<2002-11-13 ÏÂÎç04ʱ21·Ö01Ãë> <Info> <Security> <090065> <Getting boot
identity
from user.>
Enter username to boot WebLogic server:system
Enter password to boot WebLogic server:
Starting WebLogic Server...
<2002-11-13 ÏÂÎç04ʱ21·Ö08Ãë> <Notice> <Management> <140005> <Loading
configurat
ion C:\bea7\user_projects\zhudomain\.\config.xml>
java.lang.OutOfMemoryError
<<no stack trace available>>
Hi JLK,
Now as you can see that you are getting "java.lang.OutOfMemoryError: PermGen space" during the activation on an application it means that you are application needs more space in the non-heap part of the JVM which is PermGen to create the Classes, Class Structures, Methods and Reflection Objects of this applications hence you are getting this issue.
Now how to solve this issue you try the following check list which would help you resolve this issue and overcome same type of issue in future
1). Make Sure that the PermGen Area is not set to a very less value.
2). Usually if an Application has Many JSP Pages in that case every JSP will be converted to a *.class file before JSP Request Process. So a large number of JSPs causes generation of a Large number of *.class files all these classes gets loaded in the PermGen area.
3). While allocating the -XX:MaxPermSize make sure that you follow a rough Formula… which works in most of the Application Servers.
MaxPermSize = (Xmx/3) —- Very Special Cases (One Third of maximum Heap Size)
MaxPermSize = (Xmx/4) —- Recommended (One Fourth Of maximum Heap Size
To get more information on this I would suggest you to have look at the below link which would surely help you in this case
Topic: OutOfMemory Causes and First Aid Steps?
http://middlewaremagic.com/weblogic/?p=4464
Regards,
Ravish Mody -
Configure content server with DMS
i have a content server setup by BASIS team , i need to use this server as a storage category for DMS to store Documents on it .
what is the required configurations to integrate the content server with DMS .Dear Reda,
for this information please see the online documentation at
Knowledge Provider (BC-SRV-KPR) - SAP Library
SAP Library - SAP Content Server
I hope that this could answer your questions and help your basis team.
Regards,
Christoph -
J2ee server Exception in thread Main java.lang.OutOfMemoryError
hallo
i need your help
first my java j2ee and jdk
j2ee j2sdkee1.3.1
jdk j2sdk 1.4
i nedd the server for jms.
when i started the server with j2ee -verbose
i get the error message:
Starting web service at port: 8000
Exception in thread "Main" java.lang.OutOfMemoryError
what can i do to get out off this error message and starting the server normal. please help me to solve the problem!!!
i read in this forum about -Xms und Xmx but this Commands don't go on my system.
thx for help!!!Hi Warren,
Still I am not clear with your question. But generally this out of memoryspace error can be rectified by changing the properties which comes in the menubar of your command prompt. Then increasing the virtual memory over there. I hope this will help you.
Thanks
Bakrudeen
Technical Support Engineer
Sun MicroSystems Inc, India -
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 -
Java.lang.OutOfMemoryError (Microsoft SQL Server JDBC driver)
Hi everyone,
I am getting a java.lang.OutOfMemoryError when performing a simple query to a database. The query produces only one row (and will always produce only one row). However, the statement that produces the second column in the resultset is very long (>256) characters, so could that be it?
Also, I am executing thousands of SQL statements with no difficulty. I have double-checked that I am cleaning up all of my database resources, so I don't think that this is it. Do I have to do anything else besides closing the statement and resultset?
There is no stack trace, otherwise I would have posted it :(
Also, as an aside - is the Microsoft JDBC driver for SQL Server the best one to use? It seems poorly supported and slow at times. Are there any alternatives?
Thanks for your time :)
BenIt is running after thousands of other queries. I'll test to see what happens if I run it by itself.
I am closing the connection. In fact, I am running all of these statements over the same connection and simply opening and closing resultsets.
So a bug in the driver you think?
Thanks for the reply :)
Ben -
Java.lang.OutOfMemoryError when viewing JSP with records from Oracle DB
Hi,
I did an import of data from my damp file.I have exported the file from my other Oracle10g database I have the following error after I try to access data from my table I populated with import:
javax.servlet.ServletException: Servlet execution threw an exception
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
root cause
java.lang.OutOfMemoryError: Java heap space
oracle.jdbc.driver.DateTimeCommonAccessor.getDate(DateTimeCommonAccessor.java:105)
oracle.jdbc.driver.OracleResultSetImpl.getDate(OracleResultSetImpl.java:737)
oracle.jdbc.driver.OracleResultSet.getDate(OracleResultSet.java:1637)
org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getDate(DelegatingResultSet.java:255)
com.myapp.app.OrderHelper.getAllOrders(OrderHelper.java:4137)
com.myapp.app.GetOrderDO.execute(GetOrderDO.java:172)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
a fragment of my OrderHelper with line where error occurs (line 4137):
public class Orders {
public List getAllOrders(){
List lineOrders = new ArrayList();
Connection conn = null;
Statement stat = null;
ResultSet rst = null;
OrdersDTO order = null;
String select = "SELECT * FROM TBL_ORDERS";
DbConnection dbConn = new DbConnection();
try {
conn = dbConn.getDbConnection(Constants.MY_JNDI);
stat = conn.createStatement();
rst = stat.executeQuery(select);
while(rst.next()){
order = new OrdersDTO();
order.setOrderAsmtDate(rst.getDate("order_asmt_date"));////line: 4137
lineOrders.add(order);
}catch (SQLException ex) {
ex.printStackTrace();
} finally{
SQLHelper.cleanUp(rst, stat, conn);
return lineOrders;
GetOrderDO.java is just my action class which calls the getAllOrders method for my JSP to list orders. Am using Apache Tomcat/5.5.17 and struts 1.2.9 and Orcale10g.
thnx,
xsiyezthank you Avi and Bipin for the responce. I have installed Oracle on my RedHat Enterprise Linux 4 box and did an export of the TBL_ORDERS table from my database on Windows Vista . Am not getting this error when running my application on this machine. I get the error on when I run it on windows vista where I have also installed Oracle 10g and running tomcat.
Yes Avi the ArrayList object is actually getting to big. Its returning more than 100 000 rows. I am using displaytag to do pegination. Any guidelines on how I can increase jvm heap memory on of tomcat?
Thanx. -
J2EE engine restart with java.lang.OutOfMemoryError Java heap space
Hi
I hope someone can help me, I have an error on my J2EE engine.
My portal restarts only when I click on User - Administration - Identity Management.
Here is the log error.
Exception id: [000000000000005B0000001C0000098800045ACD637E87AB]#
#1.5^H#0000000000000059000000690000098800045ACD6EF06673#1225738282886#com.sap.engine.frame.Environment##com.sap.engine.frame.
Environment#J2EE_GUEST#0##host_SID_4130050#J2EE_ADMIN#40cf7230a9d811dda9f9000000000000#SAPEngine_Application_Thread[impl:3
]_13##0#0#Error#1#/System/Server/Critical#Plain###FATAL: Caught OutOfMemoryError! Node will exit with exit code 666#
#1.5^H#00000000000000590000006A0000098800045ACD6EF06833#1225738282886#com.sap.engine.frame.Environment##com.sap.engine.frame.
Environment#J2EE_GUEST#0##host_SID_4130050#J2EE_ADMIN#40cf7230a9d811dda9f9000000000000#SAPEngine_Application_Thread[impl:3
]_13##0#0#Fatal#1#/System#Java###FATAL: Caught OutOfMemoryError! Node will exit with exit code 666
[EXCEPTION]
#1#java.lang.OutOfMemoryError: Java heap space
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at com.sap.engine.services.deploy.server.ApplicationLoader.defineClassWithInterception(ApplicationLoader.java:168)
at com.sap.engine.services.deploy.server.ApplicationLoader.loadLocalClass(ApplicationLoader.java:140)
at com.sap.engine.frame.core.load.ResourceLoader.loadClass(ResourceLoader.java:127)
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:365)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at com.sap.security.core.wd.assignusermapping.wdp.InternalAssignUserMappingComp.<init>(InternalAssignUserMappingComp.
java:173)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:51)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:382)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:940)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:177)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createInstanceIfDemanded(ComponentUsage.java:728)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getImplementingInterfaceViewInfo(ComponentUsage.java:403)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.getViewManagerFor(ClientComponent.java:305)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:628)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:694)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
Thanks for your helppretty obvious to me "java.lang.OutOfMemoryError: Java heap space"
Read,
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/jsts/(Kernel)OOM
or
java.lang.OutOfMemoryError: Java heap space
those links should give you a fairly good idea on how to solve the issue.
Regards
Juan -
Java heap space java.lang.OutOfMemoryError coming in weblogic server
Hi All,
I am getting following out of memory exception on BCC server start up.
<Nov 13, 2013 3:17:09 AM IST> <Critical> <Health> <BEA-310003> <Free memory in the server is 1,134,688 bytes. There is danger of OutOfMemoryError>
Exception in thread "Timer-2" java.lang.OutOfMemoryError: Java heap space
at java.util.AbstractCollection.toArray(AbstractCollection.java:119)
at java.util.ArrayList.<init>(ArrayList.java:131)
at javax.jmdns.impl.DNSCache.getCacheNodes(DNSCache.java:223)<Nov 13, 2013 3:17:28 AM IST> <Error> <Kernel> <BEA-000802> <ExecuteRequest failed
at javax.jmdns.impl.tasks.RecordReaper.run(RecordReaper.java:48)
at java.util.TimerThread.mainLoop(Timer.java:512) java.lang.OutOfMemoryError: Java heap space.
java.lang.OutOfMemoryError: Java heap space
at java.util.TimerThread.run(Timer.java:462)
at java.lang.reflect.Array.newArray(Native Method)
Exception in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError: Java heap space
at java.lang.reflect.Array.newInstance(Array.java:52) at java.lang.reflect.Array.newArray(Native Method)
at java.lang.reflect.Array.newInstance(Array.java:52)
at java.util.AbstractCollection.toArray(AbstractCollection.java:159) at java.util.AbstractCollection.toArray(AbstractCollection.java:159)
at java.util.Collections$SynchronizedCollection.toArray(Collections.java:1569)
at atg.service.jdbc.FakeXAResource.recover(FakeXAResource.java:430)
at weblogic.transaction.internal.XAServerResourceInfo.recover(XAServerResourceInfo.java:1019) at java.util.Collections$SynchronizedCollection.toArray(Collections.java:1569)
at weblogic.transaction.internal.ServerSCInfo.recover(ServerSCInfo.java:645)
at weblogic.transaction.internal.XAResourceDescriptor.getXidsToBeRolledBack(XAResourceDescriptor.java:1137)
at atg.service.jdbc.FakeXAResource.recover(FakeXAResource.java:430)
at weblogic.transaction.internal.XAResourceDescriptor.recover(XAResourceDescriptor.java:1073)
at weblogic.transaction.internal.XAResourceDescriptor.access$100(XAResourceDescriptor.java:60)
at weblogic.transaction.internal.XAResourceDescriptor$2.run(XAResourceDescriptor.java:823)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Truncated. see log file for complete stacktrace
I think this can't be issue with following variables:As I hv set them from 64m to 256, still issue coming.
WLS_MEM_ARGS_32BIT=-Xms200m -Xmx256m
MEM_PERM_SIZE_32BIT=-XX:PermSize=200m
MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=256m
Any suggestion.
Thanks,
Nitin.making it 512 temporarily working fine, but my concern was something must have been eating all the memory.
I did run bcc with 128 MB and deployed lots of initial data too, didn't face the issue in recent past with same versions and same build size.
ATG:10.2
Weblogic: 10.3.5
JDK:1.6.0_25
One more info:
my build size is around 200 MB
I m not running productionAgent,But I didn't make that essential while setting agent.
Can that be issue that some Manager trying to hit the server continuously and eating the memory.
Can not running the agent server, eat substantial memory?
**** Warning
Wed Nov 13 04:25:21 IST 2013
1384296921718 /atg/epub/DeploymentServer
Failed to connect to agent 'ProdcutionAgent'. This agent not allowed to be absent for a deployment. The server will continue attempts to intialize the connection. Set loggingDebug to true for continued exception and stacktrace logging.
@others:
BCC Server memory parameters:
WLS_MEM_ARGS_32BIT=-Xms512m -Xmx512m
MEM_PERM_SIZE_32BIT=-XX:PermSize=128m
MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=256m
Production Server memory parameters:
WLS_MEM_ARGS_32BIT=-Xms200m -Xmx256m
MEM_PERM_SIZE_32BIT=-XX:PermSize=64m
MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=128m -
10.1.3 Apps Server java.lang.OutOfMemoryError: PermGen space
Hi,
I am continually getting java.lang.OutOfMemoryError: PermGen space errors when using the application server control. I have two applications deployed which have been running ok (since i bumped up the MaxPermSize in oc4j_opmn.xml)
I have set the max perm size to 512m should i need to set this higher to get the AS stable?
The error has happened this time when I selected an application and clicked Redeploy. Because the ASC dies i can't get any useful information on what the server is doing before it memory leaks itself out of existence.
any help would be appreciated,
BrendenHi,
I found this in the manual as a solution for out of memory errors:
(from the opmn.xml in $ORACLE_HOME/opmn/conf/)
<ias-component id="OC4J">
<process-type id="home" module-id="OC4J" status="enabled">
<module-data>
<category id="start-parameters">
<data id="java-options" value="-Xms512m -Xmx512m -Djava.awt.headless=true
-Dhttp.webdir.enable=false"/>
</category>
</module-data>
</process-type>
</ias-component>reference:
http://download-west.oracle.com/docs/cd/B25221_03/web.1013/b14432/diagnosis.htm#sthref509
shall see if it works......
Brenden -
Server startup - java.lang.OutOfMemoryError: PermGen space
Version: WebLogic Server 10.3.2.0
JVM Sun 6 64
OS Windows Server 2008 64
Hi there,
I got the following error from a managed server startup. The AdminManager e NodeManager instances are up and runnig and the startup comand is performed from the web gui.
I tried to play with JVM arguments (web gui, not on script) increasing the amount to -Xms512m -Xmx1024m, but with not success and because the instance hasn't got any application deployed I felt reasonable put them back to -Xms512m -Xmx512m.
<13-Jan-2010 22:35:12 o'clock GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<13-Jan-2010 22:35:12 o'clock GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<13-Jan-2010 22:35:14 o'clock GMT> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the jks keystore file D:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\DemoIdentity.jks.>
Exception in thread "[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Exception in thread "Timer-1" The WebLogic Server encountered a critical failure
java.lang.OutOfMemoryError: PermGen space
Reason: PermGen space
<13-Jan-2010 22:35:27> <FINEST> <NodeManager> <Waiting for the process to die: 3624>
<13-Jan-2010 22:35:27> <INFO> <NodeManager> <Server failed during startup so will not be restarted>
<13-Jan-2010 22:35:27> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>
Thanks in advance for any help.Hi,
As you have mentioned that you tried to play with JVM arguments (web gui, not on script) increasing the amount to -Xms512m -Xmx1024m.....
In case of OutOfMemoryError in PermGen Sapace ...increasing only the Heap Size will not solve anything...
Just a Bit Explaination:
Formula:
(OS Level)Process Size = Java Heap Native Space (2-3% OS related Memory)
PermSize : It's a Native Memory Area Outside of the Heap, Where ClassLoading kind of things happens.... In an operating System like Windows Default Process Size is 2GB (2048MB) default (It doesnt matter How much RAM do u have 2GB or 4GB or more)...until we dont change it by setting OS level parameter to increase the process size..Usually in OS like Solaris/Linux we get 4GB process size as well.
Now Lets take the default Process Size=2GB (Windows), Now if you have set the -Xmx512M, we can assume that rest of the memory 1536 Mb is available for Native codes.
(ProcessSize (-) HeapSize) = Native (+) (2-3% OS related Memory)
2048 MB (-) 512 MB = 1536 MB
THUMB RULES:
MaxPermSize = (Xmx/3) ---- Very Special Cases (One Third of maximum Heap Size)
MaxPermSize = (Xmx/4) ---- Recommended (One Fourth Of maximum Heap Size)
So finally you need to increase the PermGen Size... like -Xmx1024m -Xms1024m -XX:MaxPermSize256m
But again these are not the Final values ... It depends on ther Environments
Thanks
Jay SenSharma
Edited by: Jay SenSharma on Jan 14, 2010 5:36 PM -
Server SSLSocket + java.lang.OutOfMemoryError: Java heap space
Hi guys,
I have problem with SSLSocket on server, sometimes when client try to connect to server "java.lang.OutOfMemoryError: Java heap space" error appear. I have created SSLServerSocket then in loop socket is listenig and waiting for accept a client.
private SSLServerSocket mSocket = createServerSocket(port);mSocket is ok, problem must be somewhere in code below:
private Socket acceptSocket() throws IOException {
SSLSocket s = (SSLSocket) mSocket.accept();
s.startHandshake();
return s;
}Where can be problem ?
Thanks a lot
/zipposmSocket is ok, problem must be somewhere in code below:Why?
Where can be problem ?Somewhere else?
NB You don't need to call startHandshake(), it is automatic when the first I/O happens. And you certainly shouldn't call it in the thread that does the accept(). -
Server subsys tem failed. Reason: java.lang.UnsupportedClassVersionError
Hello!
Is not possible to run WebLogic 10R3 with JAVA 5?
<24/Nov/2009 10H14m GMT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic
Server with Java HotSpot(TM) Client VM Version 1.5.0_22-b03 from Sun Microsyste
ms Inc.>
<24/Nov/2009 10H14m GMT> <Critical> <WebLogicServer> <BEA-000386> <Server subsys
tem failed. Reason: java.lang.UnsupportedClassVersionError: Bad version number i
n .class file
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at weblogic.kernel.FinalThreadLocalList.initialize(FinalThreadLocalList.
java:44)
at weblogic.t3.srvr.PreConfigBootService.start(PreConfigBootService.java
:70)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesMan
ager.java:459)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServ
icesManager.java:164)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:711)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:482)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:440)
at weblogic.Server.main(Server.java:67)
>
<24/Nov/2009 10H14m GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state ch
anged to FAILED>
<24/Nov/2009 10H14m GMT> <Error> <WebLogicServer> <BEA-000383> <A critical servi
ce failed. The server will shut itself down>
<24/Nov/2009 10H14m GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state ch
anged to FORCE_SHUTTING_DOWN>
Thanks
A.Hi there,
your concern is not without reason. But there is a way to configure NWDI to use both JDKs as required.
In the CBS-Settings
BUILD_TOOL_JDK_HOME - has to point to the JDK with the highest version. This should be the JDK 6 of your CE 7.2 I guess.
JDK_HOME_PATHS - contains aliases for the JDKs and the PATH to them. This aliases will be used in the build variant.
For example: JDK1.4_HOME=/usr/lib64/jvm/java;JDK1.5.0_HOME=/nwdi/sap_build_vm/sapjvm_5;default=/nwdi/sap_build_vm/sapjvm_5
This example tells CBS that there are 2 JDKs 1.4 and 1.5 and that the 1.5 JDK will be used by default.
When you create a track you have to set a build variant to use , in my case JDK 1.4, instead od the JDK1.5 by default.
The build variant will be:
com.sap.jdk.home_path_key = JDK1.4_HOME
This tells CBS to use the JDK1.4 as defined in JDK_HOME_PATHS for building in this track. other tracks will use the default JDK as long as the build variant is not adjusted.
So its not problem to build with different JDKs in NWD if required.
Have a good time
Jan -
XML Publisher report ends in Warning with java.lang.OutOfMemoryError
Hi,
We are modifying the standard report Account Analysis Report (in Subledger Accounting) to create a custom report.
When run wide open, it is ending in Warning with the error java.lang.OutOfMemoryError in OPP Log.
We are on EBS 12.1.3. DB 11.2.0.3 and XML Publisher 5.6.3
We have set the below parameters in the data definition:
Use XML Publishers XSLT processor: True
Enable Scalable feature of XSLT processor: True
Enable XSLT Runtime optimization: True
Also we have added these to the Data template:
<property name="db_fetch_size" value="20" />
<property name="scalable_mode" value="on" />
On the concurrent program, we have this option set:
-ms1024m -mx2048m
Still, the program is ending in Warning and not producing output. Any pointers here?
We can also see that the Temporary Directory is not able to be set on the data definition. Why is this?
After setting the Temporary Directory from Administration page, we were able to set the temporary directory for this data definition, but that did not solve the iseue.Glad you have sorted this - note that the fnd_concurrent_requests table has the fields pp_Start_date and pp_end_date which will show how long post processing is taking.
Good to a good idea to monitor this in relation to the setting you have made in the profile option Concurrent:OPP Timeout profile option though 3 hours should cover most things!!!! -
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.
Maybe you are looking for
-
Data display error in OBIEE -Generated query returns correct result on DB
Hi experts, We are retrieving the data from cube based on MS SQL SERVER. When i generate the report in answers for the amount A(Sum in rpd) it display the amount 18 only and when i fire the generated MDX query on cube its shows amount as 144(18+126).
-
Dynamic Setting of Properties in a Property Class
Can anybody tell me how to change the properties in a Property Class dynamically using Forms 6i?
-
is there a way to tell if a plugin is no longer needed. In other words is there a way to tell when it was last used to determine if it should be deleted. for instance iphoto6,
-
HT5824 how do I upload pictures to icloud
Can anyone tell me how I can upload pictures from my computer to icloud so I can back them up. Any help apreciated, thanks
-
When opening the program LR 5 encounters an error when reading from it's preview cache.
When opening the program LR 5 encounters an error when reading from it's preview cache. It says it will correct the problem when it re opens. Why does this happen and how do I correct it?