Java Memory error for applprod

Hi,
I have strange problem. I am running "Create accounting" program and it errors out with the error message
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
I have sun SPARC servers, with 16GB RAM, 38 GB SWAP WITH 12.1.1 and 11.1.0.7
So following the note
Troubleshooting Java[tm]: Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. [ID 1260764.1]
The funny thing is
when i run the command java -Xmx2048M -version it works fine on root and oraprod. But when i run in applprod it throws the same error
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
I have checked ulimit settings, they are fine
1) ROOT:
root@server1 # ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
open files (-n) 256
pipe size (512 bytes, -p) 10
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 29995
virtual memory (kbytes, -v) unlimited
2). ORAPROD:
bash-3.00$ ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
open files (-n) 256
pipe size (512 bytes, -p) 10
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 29995
virtual memory (kbytes, -v) unlimited
3). APPLPROD
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
open files (-n) 65536
pipe size (512 bytes, -p) 10
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 29995
virtual memory (kbytes, -v) unlimited
When i run java the following is the output.
1). ROOT
root@server1 # java -Xmx2048M -version
java version "1.5.0_20"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_20-b02)
Java HotSpot(TM) Server VM (build 1.5.0_20-b02, mixed mode)
2).ORAPROD
bash-3.00$ java -Xmx2048M -version
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
3).APPLPROD
bash-3.00$ id
uid=101(applprod) gid=100(dba)
bash-3.00$ java -Xmx2048M -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
If i run java with 1024M it works fine as follows
bash-3.00$ java -Xmx1024M -version
java version "1.5.0_20"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_20-b02)
Java HotSpot(TM) Server VM (build 1.5.0_20-b02, mixed mode)
bash-3.00$ id
uid=101(applprod) gid=100(dba)
bash-3.00$
Please any help.
Thanks

Hi Hussein,
I created another user test1 of group dba and ran java -Xmx2048M -version. It worked with out error.
Then i found the only difference between test1 and applprod is ulimit -s set to unlimited in applprod but not set in test1
I removed ulimit -s unlimited for applprod the executed
java -Xmx2048M -version
it worked fine.
But i guess ulimit -s unlimited is a pre-requisite for running R12 in solaris??
What shoud i do
Please suggest.
What does "echo $ADJRIOPTS" return after sourcing the env file?bash-3.00$ echo $ADJRIOPTS
-mx512m
bash-3.00$
Thanks

Similar Messages

  • No sound in Browsers and low memory errors for Snood and Ultimate Solitaire

    No sound in Browsers and low memory errors for Snood and Ultimate Solitaire. Those are what I'm experiancing. The no sound happens in Safari, Firefox and Opera. Both Snood and Ultimate Solitaire won't load because of 'Not Enough Memory' yet I have 2gigs. Other applications work fine with sound. ie iTunes, GarageBand, etc are ok. I've deleted Snood Prefs with no effect. Any ideas?
    thanks

    No sound in Browsers and low memory errors for Snood and Ultimate Solitaire. Those are what I'm experiancing. The no sound happens in Safari, Firefox and Opera. Both Snood and Ultimate Solitaire won't load because of 'Not Enough Memory' yet I have 2gigs. Other applications work fine with sound. ie iTunes, GarageBand, etc are ok. I've deleted Snood Prefs with no effect. Any ideas?
    thanks

  • Java compile error for removed API

    Hi,
    What are the Java compile errors for API that has been removed?
    As I understand it, API elements are deprecated and not removed from the API immediately, but will be removed in future releases or after so many years.
    When Java code is compliled in a higher Java version, and the API has finally been removed - what are the errors that will be ouput in the log?
    Thank you for your time.

    WalterLaan wrote:
    And if you recompile one with a method removed that the other use and then run the other you would get a NoSuchMethodError (or more generally just an error sub class of LinkageError).
    Not that you should be catching those unless you accept classes from the user (as plugins).Presumably you mean he should not be catching them?
    @OP: In general, you should not catch unchecked exceptions. These are RuntimeException, Error, and their descendants. There are exceptions, such as at "layer boundaries," or when you don't want errors in one module/application/plugin/etc. to affect or prevent processing in others.

  • Java Heap error for BI Publisher

    Hi all,
    We get 'Java Heap Error' while running a report in BI Publisher. Any suggestions on how we can resolve the issue?
    Thanks for your help!
    Nan

    user12088414 wrote:
    Hi all,
    We get 'Java Heap Error' while running a report in BI Publisher. Any suggestions on how we can resolve the issue?
    Is BI Publisher a product? Does the title of this forum include Do Not Post Product-Related Questions Here?
    Please look at the forum list and find [url https://forums.oracle.com/forums/forum.jspa?forumID=245]BI Publisher.

  • I am getting Java Script errors for InDesign only in CS3 on my Mac OSX 10.9.1

    When I try to open InDesign (CS3) on my Mac OSX 10.9.1 I get Java Script Error
    Error Number 45
    Error String Object is Invalid
    Line 387
    later
    Line 428
    I tried checking the prompt line & I get this message
    "CGSFlushWindow" is obsolete use "GGSFlushWindowContentRegion" instead
    I have NO clue what that means
    HELP!!!!!!!!

    It means what it says: The respective function no longer exists. Anyway, ask in the ID forum. I'm sure someone there can help you fix whatever script is running amok.
    Mylenium

  • Out of memory error for large recordings:

    Hi,
      My workflow process takes input as a list. It loops through the workflow for all the items in the list. If my list contain 4 items, there will be 3*7= 21 steps when I invoke the process. I can able to check my recordings for debugging.
    If I give 5 inputs, It takes around 5*7 = 35 steps in the workflow. If I try to play the recording, i see the error: java heap space: Out of memory exception. I changed my space to Xmx1024m in workbench.ini. I also did: java -Xms<initial heap size> -Xmx<maximum heap size> (Q1: do we need to restart the JBoss after we do the second step? ).
    Q2: My system is Windows7 with 4GB RAM. I have liveCycle 8.2 with SP2. JBoss & MySql. Do I need to set this java RAM size in any of our JBoss server files?
    Q3: Is there any file to set the maximum permissible steps for a process recording? If so, please let me know. It would be a great help.
    Thanks,
    Chaitanya

    If the size of the documents you are adding as input are very large this could result in OOM errors so that is something to consider. 
    Some other things to try are as follows:
    1. Increase memory allocated by JBoss by another 200 - 300 M as per the following documentation on the web:
    http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.html?topic=000097&topic=00183 7
    2. Read the following sections of the Workbench Help which can be found on the web and describes how to limit your recording storage space used:  http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.html?topic=000097&topic=00106 0
    I would suggest increasing your maxNumberOfRecordingEntries to about 200.
    Heather

  • OC4J memory error for substantial app

    In loading a substantial BC4J driven application on OC4J I receive :
    500 Internal Server Error
    java.lang.OutOfMemoryError
    at oracle.xml.parser.v2.XMLReader.setEncoding(XMLReader.java, Compiled Code)
    at oracle.xml.parser.v2.XMLCharReader.<init>(XMLCharReader.java, Compiled Code)
    at oracle.xml.parser.v2.XMLReader.setEncoding(XMLReader.java, Compiled Code)
    at oracle.xml.parser.v2.XMLReader.checkXMLDecl(XMLReader.java, Compiled Code)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java, Compiled Code)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java, Compiled Code)
    at oracle.jbo.server.MetaObjectManager.loadLazyObject(MetaObjectManager.java, Compiled Code)
    at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java, Compiled Code)
    at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java, Compiled Code)
    at oracle.jbo.server.ApplicationModuleImpl.createViewObject(ApplicationModuleImpl.java, Compiled Code)
    at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java, Compiled Code)
    at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:263)
    at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:85)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.createNewInstance(ApplicationPoolImpl.java, Compiled Code)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.checkout(ApplicationPoolImpl.java, Compiled Code)
    at oracle.jbo.html.jsp.JSPApplicationRegistry.internalGetAppModuleInstance(JSPApplicationRegistry.java:463)
    at oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleInstance(JSPApplicationRegistry.java:377)
    at oracle.jdeveloper.html.DataWebBeanImpl.internalInitialize(DataWebBeanImpl.java:404)
    at oracle.jdeveloper.html.WebBeanImpl.initialize(WebBeanImpl.java:56)
    at oracle.jdeveloper.html.DataWebBeanImpl.initialize(DataWebBeanImpl.java:360)
    at oracle.jdeveloper.html.DataWebBeanImpl.initialize(DataWebBeanImpl.java:391)
    at /fast/forum/jsp/forum_top.jsp._jspService(/fast/forum/jsp/forum_top.jsp.java:109) (JSP page line 53)
    at com.orionserver[Oracle9iAS (1.0.2.2) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:54)
    at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.HttpApplication.serviceJSP(HttpApplication.java:5458)
    at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.JSPServlet.service(JSPServlet.java:31)
    at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java, Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:170)
    at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java, Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java, Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java, Compiled Code)
    There is plenty of server memory free, which means I need to boost the footprint of the OC4J server I think. Please confirm, and what swith would I use?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Mark Jumaga ([email protected]):
    Hello VKansal
    I consider it absurd that a billion dollar corporation such as Oracle has to rely on the oem purchase of the Orion product to save it's java ass. It consider it doubly absurd that the subsequent marketing push of said product can at once be so full of hype and so lacking in technical support as to be the mark of a corporation gone mad.
    Thankyou for your "Orion support" response to my problem, a problem completely ignored by The J2EE "team" at Oracle.
    Did you know that this OC4J is at once god's gift to J2EE deployment and also "early adopter technology" without support?
    Did you know that Oracle Marketing is pushing OC4J as an answer to the market leader BEA, and yet everywhere on this forum there are problems about deployment that are unanswered by tech support, answered with the "unsupported" tag line, or answered by links to documentation that is incorrect?
    Kinda makes you wonder if the 20 thousand dollar price tag to get the OEM'd Orion server in 9ias, which originally sold for 1500$ with better documentation from Orion, is a good purchase decision.
    NOT that my complete waste of time bashing out these details isn't A LOT of fun while I'm struggling to deliver production ready code under blazing time to market considerations! NO! I LOVE TO WASTE MY TIME, AND MY CLIENTS MONEY! THAT'S HOW WE'RE ALL SUCCESSFULL IN THIS BUSINESS, RIGHT?
    <HR></BLOCKQUOTE>
    Mark -
    Perhaps Oracle support doesn't want to here this, but the best information for OCJ4 is available either by scanning the mailing list at www.orionserver.com or looking at www.orionsupport.com - a site developed by users of Orion with no actual association with the vompany. I've been working with the app-server for over a year now and have certainly been frustrated at the lack of documentation - and of course Oracle hasn't improved it. Oracle should have spent much more time training their technical staff before giving it to the marketing chumps to run with. I believe that the move of Oracle and Orion is a good one from a technical perspective however - I am over the major bump in the Orion learning curve and I absolutely love the product - but I'm not sure that the Oracle staff are over that (what can be) tough first part of the curve. Hopefully they are all hunkered down with Karl and Magnus from Orion trying to learn all the required stuff.
    Cheers
    Ray

  • ORA-04030: out of process memory error for expdp utility

    Hi,
    I am using expdp utility to export schema objects. It was working fine for the past one year, but now I am facing this issue.
    It is giving below error while exporting one schema objects.
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while calling DBMS_METADATA.FETCH_XML_CLOB [TABLE:....................
    ORA-04030: out of process memory when trying to allocate 4108 bytes (Typecheck,kgghteInit)
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.KUPW$WORKER", line 6241
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    678894EC 14916 package body SYS.KUPW$WORKER
    678894EC 6300 package body SYS.KUPW$WORKER
    678894EC 2340 package body SYS.KUPW$WORKER
    678894EC 6861 package body SYS.KUPW$WORKER
    678894EC 1262 package body SYS.KUPW$WORKER
    501F624C 2 anonymous block
    Job "SYSTEM"."SYS_EXPORT_SCHEMA_37" stopped due to fatal error at 03:30:28
    DB version: Oracle 10.2.0.1
    SGA Details:
    Total System Global Area 1426063360 bytes
    Fixed Size 1251052 bytes
    Variable Size 243271956 bytes
    Database Buffers 1124073472 bytes
    Redo Buffers 57466880 bytes
    pga_agregate_target = 600M
    OS: Windows Server 2003 R2
    RAM: 3.5 GB
    I tried running expdp multiple times every time I will get out of memeory error along with different oracle errors, but the common error is out of memory ora -04030.
    In above case I got this error along with ORA-39125 and sometimes I will get with
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 1 with process name "DW01" prematurely terminated
    ORA-31671
    I searched forums and found lot options but not for expdp utility.
    Can some one please help in resolving this issue.
    Thanks,
    Srikanth.K

    Hi;
    Please investigate your issue:
    Master Note for Diagnosing OS Memory Problems and ORA-4030 [ID 1088267.1]
    DataPump Export (EXPDP) Terminates With Error ORA-4030 [ID 1368462.1]
    Regard
    Helios

  • E5: phone memory error for 2days

    when i was ready for installing apps. from nokia store, 99mb was free but show only 2mb left plz select another derive for install why...???? after 2  days the memory was clear seen 97.6mb free what may be the error on mobile.......!!!!!! plz reply or help us.bring new SW update fixing this type of problem.................!
    Solved!
    Go to Solution.

    If you run Nokia's File Manager, how much free space does that show?  2 MB free or 97+ MB free?  If the error appears only with the Nokia Store, then it could be a bug.  I don't use the Ovi Store/Nokia Store app often, but installed the 1.16 update with the new name a few days ago.  I just tried downloading and installing a game on my E73, and that worked fine.  If the problem is only with the Store app, maybe you could try removing and reinstalling it?

  • JDeveloper 10.1.3.3.0 Java Memory errors

    Hello,
    I have been developing an ADF Application that contains a tree component that is used for navigation of a BOM structure. The BOM is not that large only 600 or so records and when I am testing for short intervals I have no problems. When the application is run for extended periods 15-20mins in both the embeded oc4j container and the Application server 10.1.3.4.0, it runs out of memory and in the case of the application server the instance is restarted.
    I have tried to limit records retrieved, increase heap memory to ridiculous sizes (1024MB), configure the AM pooling settings and still this occurs. I guess I have memory leak or something but I tried to use JDeveloper debug functions to isolate and cannot find. Does anyone know how I can make the app release memory and stop restarting the application server? Any tips on how to find memory leaks?
    Any help is greatly appreciated.
    Thanks in advance,
    Peter

    This issue had to do with a known bug in the Java Hotspot sever and updating the version of Java to 1.5.0_17-b04 resolved this issue.

  • Java memory error

    Upon starting weblogic get error: AIX RS/6000 5.o WebLogic 6.1 sp2 -
    Unable to initialize the server:'Fatal initialization exception Throwable: java.lang.OutOfMemoryError: ZIP004:OutOfMemoryError, MEM_ERROR in inflateInit2

    Jose Quidachay <[email protected]> wrote:
    java.lang.OutOfMemoryError: ZIP004:OutOfMemoryError, MEM_ERROR in inflateInit2This looks like zip deflating occurs (probably a jar file of some sort), then
    the heap is exhausted during execution, and the JVM reports java.lang.OutOfMemory.
    What are your JVM options? For example, -Xms and -Xmx. I believe under IBM's
    1.3.1 JVM on AIX, you're limited to a maximum possible Java heap size of 2.5 GB
    (that's after also setting maxdata to 0x00000000 to free up all 10 consecutive
    segments (0x3 -0xC) for mmap( ), per IBM documentation here:
    http://www-106.ibm.com/developerworks/eserver/articles/JavaPart2.html
    Also, review your swap space on your filesystem (increase if necessary). Hope
    this helps!
    Brian J. Mitchell
    Systems Administrator, TRX
    PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8BEE2240
    Fingerprint: 3A84 A5D6 EE26 BC10 E525 1905 6FF0 0B6F 8BEE 2240

  • Java script error for Drilldown in Web Template

    Hi
    We are using a 3.x Web Template derived from the standard 0QUERY_TEMPLATE to run the web reports.
    In this during the report execution the drilldown (or remove drilldown) for any characteristic is not working, it just shows some error in the status bar of the browser and the drilldown feature can be seen only when we refresh the browser.
    However the same Web Template is working fine for the reports when transported to some other system.
    Does anyone have any idea what could be the problem in this case? Is it related to Java stack or any other configuration for the server where the template is failing?
    Regards,
    Ninad
    Edited by: Ninad Warang on Feb 20, 2009 4:27 PM

    a. it could be an access issue with mime repository ...
    also when you execute the teplate in IE - it will display a warning at the bottom and on double clicking the same you will see the javascript error.
    If it is something like "Object Expected" or something like that then you can look at taking out the .js file from the target system and moving the same into your dev system....

  • Memory Error for OVI Store in C5-03

    Wen ever i try 2 install an app using OVI Store on my C5-03...It keeps saying " Memory full..plz,close some apps & try again "
    Even though ,for first app 2 be downloaded,it's showing da same msg...I'm not able 2 download a single app using OVI Store...Can anyone found a solution 4 dis?...plz,help me

    Try removing unwanted apps from your phone memory and keep it as free as possible. The memory low message is due to low RAM and sadly there hasn't been a complete solution for that. Before going into Ovi store clean your browser cache or reboot your phone and try downloading apps.
    blitZkid
    Nokia C7: Running on Nokia Belle
    "If I'm helpful in anyway, a click of appreciation on the star would be nice"

  • Safari 5.0.5 crashes - Java Memory Error

    Last login: Sat Jul 30 09:36:48 on console
    java version "1.6.0_26"
    Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
    Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)
    So I am running the latest update for Java, the latest update to the OS 10.6.8
    I go to creativelive.com/live and then "show chat" at the bottom, then then click login and BOOM crash smash. Won't run.
    Fix??

    /Users/jess/Library/Internet Plug-Ins/EvernoteSafariClipperPlugin.webplugin/Contents/MacOS/EvernoteSafariCli pperPlugin
          Go to ~/Library/Internet Plug-Ins. Move these files to the Desktop:
    EvernoteSafariClipperPlugin.webplugin/Contents/MacOS/EvernoteSafariCli pperPlugin
    Relaunch Safari. If it doesn't crash, then check the Evernote site for support.
    http://www.evernote.com/about/download/web_clipper.php
    Note* The ~ (Tilde) character represents your Home folder.

  • How to fix java runtime error for 10.7.2

    I have a MacBook pro and with Lion OS 10.7.2 and I am getting a message from Java Script "You will need the latest Java(TM) Runtime Environment to print our coupons. Would you like to update now?"
    Can anyone tell me how to fix this?

    That's not a problem with OSX Lion, it is an issue with that particular website (we've seen this before).  It's not working with the Mac very well, and there's nothing you can do about it.  Sorry.

Maybe you are looking for

  • Internal HD won't mount

    My wife says she wasn't doing anything when the imac froze and then she restarted it via power button. But then start up got stuck at the grey screen with the wheel. I booted up from a SuperDuper image and opened disk util to see if i had to repair a

  • Linking buttons to a URL

    I am tring to make a flash web site and i got stuck. i need to knew how to link a button to a URL. i resently switched to Flash CS3 but i am having to save all of my file as flash 8 files to get the action script to work. i usauly use AS1&2 i tried s

  • How to restrict business place during billing or billing spilit

    Dear All, According the requirement we activated business place as on plant level, during miro by default business place coming i.e correct but on SD side we don't need any business place . In one sales order have no. of line item for one plant have

  • Bloody Hell, I install Firefox 4 beta 11 and nothing happens home page loads, and thats it, firefox does not respond

    I run 3.6.13 I tried to install beta 4. 11, it downloads and installs, it opens the home page, but that's it, the throb er works but Firefox does not respond, i mean like in nothing, it is dead, you click anywhere on the toolbar, and it is like a dea

  • M2T Files in FCP

    I'm currently editing on FCP 7. I just downloaded a plugin from Sony that should allow me to use M2T files. I have a friend who has downloaded all of the files onto an external drive using his PC. Will I be able to copy the M2T files over onto my com