Heap space out of memory in weblogic

Hi,
I am using weblogic server 10.3.2,Actually i am facing heap space error because lot of data is there is the database approx 50lacs Data.
And my system configuration is 8GB RAM and 64bit machine.
but after 5 minutes heap space error...
Note:I have already configured in the setDomainEnv.cmd File
if "%JAVA_VENDOR%"=="Sun" (
set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx2048m
set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx512m
) else (
set WLS_MEM_ARGS_64BIT=-Xms512m -Xmx2048m
set WLS_MEM_ARGS_32BIT=-Xms512m -Xmx512m
set MEM_PERM_SIZE_64BIT=-XX:PermSize=256m
when i start the weblogic server ,below is the details but i have already changed then why
-Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -
D:\Oracle\MIDDLE~1\JDK160~1.5-3\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=D:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=D:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\Mohiddin\AppData\Roaming\JDEVEL~1\SYSTEM~1.36\DEFAUL~1 -Dcommon.components.home=D:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\Mohiddin\AppData\Roaming\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\Mohiddin\AppData\Roaming\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\Mohiddin\AppData\Roaming\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Users\Mohiddin\AppData\Roaming\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\Mohiddin\AppData\Roaming\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=\modules\oracle.ossoiap_11.1.1,\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\Mohiddin\AppData\Roaming\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Oracle\MIDDLE~1\patch_wls1032\profiles\default\sysext_manifest_classpath;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
<Mar 29, 2013 1:22:43 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 14.0-b16 from Sun Microsystems Inc.>
<Mar 29, 2013 1:22:44 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.2.0 Tue Oct 20 12:16:15 PDT 2009 1267925 >
<Mar 29, 2013 1:22:44 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Mar 29, 2013 1:22:44 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Mar 29, 2013 1:22:44 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Users\Mohiddin\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Mar 29, 2013 1:22:44 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Users\Mohiddin\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00214. Log messages will continue to be logged in C:\Users\Mohiddin\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
<Mar 29, 2013 1:22:44 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Users\Mohiddin\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
<Mar 29, 2013 1:22:46 PM IST> <Error> <Security> <BEA-000000> <[Security:090739]The SQL statement for SQLIsMember does not appear to be correct>
<Mar 29, 2013 1:22:47 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Mar 29, 2013 1:22:49 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Mar 29, 2013 1:22:49 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Mar 29, 2013 1:22:52 PM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application XBSystemMasters is not versioned.>
Please help me and in above configuration i have changed but the same prob i m getting issue...
Edited by: 888679 on Mar 29, 2013 12:53 AM

Hi,
I m using 32 bit java sotfware..Actually Problem is when Jdevelpoer start through weblogic then it is not reflected but
when start weblogic through command prompt then it is reflecting.
So can u please help me why ,when start the weblogic through Jdeveloper.it is not reflecting.any setting in Jdeveloper..
Thanks
Anup
Edited by: 888679 on Mar 31, 2013 2:39 AM

Similar Messages

  • Game Heap Space - Out Of Memory Error

    Hi there,
    Ive completed my pacman/space invaders hybrid game- which has a main game and two playable videos. Its all fine, but when I go to run it it says;
    Exception in thread "Image Fetcher 1" java.lang.OutOfMemoryError: Java heap space
    Exception in thread "Image Fetcher 2" java.lang.OutOfMemoryError: Java heap space
    Ive come to realise that this error is from the amount of data used to make up the game/video with there being around 150 images for the videos. Ive temporarily corrected this problem by making each video 26 images long (2.6secs each) but to get the full experience the user need to see around 75images.
    After a bit of research I found that i needed to increase my 'heap space'- and I attempted to do this thru cmd, attemptin to increase it to 512mb.
    The problem is the game doesnt have a main, or at least not one that I nor the computer can locate. And to get the heap space to increase it needs a main?!
    I honestly dont know what I am doing here- but could anyone tell me how I can increase my heap space or locate a main? Im really confused!
    Any help appreciated
    Senor-Cojones

    Thanks for your help ArikArikArik, the problem with that method is.... 1. im not too sure how to use it :P and 2. In my original code the images are added to the tracker which waits from all the images to be loaded before it continues.
    import javax.swing.*;
    import java.applet.AudioClip;
    import java.awt.*;
    public class ICGGSApplet extends JApplet implements Runnable {
        // constants describing possible game states
        private static final int SHOW_MOVIE = 1;
        private static final int PLAY_GAME = 2;
        private static final int STOPPED = 3;
        private static final int SHOW_MOVIE2 = 4;
        private int gameState;   // the current game state
        private String name;     // the player's name
        private long frameStartTime;  // the time the last frame was displayed
        private Thread gameLoop;   // thread to run the game and movie
        // associated objects
        private Movie theMovie;      // Panel to display the movie
        private MonsterGame theGame;  // Panel to display the game
        private ICGGSPanel currentPanel;  // the currently displayed Panel (can be null)
        private Movie2 theMovie2; // Panel to display the second movie
         * Called when applet is first loaded
         *  sets up the attributes, load media, creates game objects
         *  and sets up interface
        public void init() {
            // neither the movie nor the game is currently playing
            currentPanel = null;
            gameState = STOPPED;
            name = "";
            // load up the audio files
            AudioClip theAudio = getAudioClip(getDocumentBase(), "../media/shock.wav");
            AudioClip theAudio2 = getAudioClip(getDocumentBase(), "../media/applause.wav");
            AudioClip theAudio3 = getAudioClip(getDocumentBase(), "../media/bomb.wav");
            AudioClip theAudio4 = getAudioClip(getDocumentBase(), "../media/cashtill.wav");
            AudioClip theAudio5 = getAudioClip(getDocumentBase(), "../media/pacman.wav");
            // create a media tracker to monitor the loading of the images
            MediaTracker theTracker = new MediaTracker(this);
            // load up the images for the movie
            Image movieImages[] = new Image[25];
            for (int i=0; i<movieImages.length; i++) {
                movieImages[i] = getImage(getDocumentBase(), "../media/movie" + (i+1) + ".jpg");
                theTracker.addImage(movieImages, i);
    // load up the images for the second movie
    Image movieImages2[] = new Image[25];
    for (int i=0; i<movieImages2.length; i++) {
    movieImages2[i] = getImage(getDocumentBase(), "../media/firingGun" + (i+1) + ".jpg");
    theTracker.addImage(movieImages2[i], i);
    // load up the images for the munchies
    Image image1 = getImage(getDocumentBase(), "../media/munchie1.gif");
    theTracker.addImage(image1, 4);
    Image image2 = getImage(getDocumentBase(), "../media/munchie2.gif");
    theTracker.addImage(image2, 5);
    Image image3 = getImage(getDocumentBase(), "../media/munchie3.gif");
    theTracker.addImage(image3, 6);
    // wait for all the images to be loaded
    try {
    theTracker.waitForAll();
    } catch (InterruptedException e) {
    // create the movie object
    theMovie = new Movie(movieImages);
    theMovie2 = new Movie2(movieImages2);
    // create the game object
    theGame = new MonsterGame(image1, image2, image3, theAudio, theAudio2, theAudio3, theAudio4, theAudio5);
    this.getContentPane().setBackground(Color.WHITE);
    // Initialise key-input functionality
    addKeyListener(new Input()); // add keyboard listener to applet
    * Called when the Applet is ready to start executing
    public void start() {
    // ask the user for their name
    name = JOptionPane.showInputDialog(this, "What is your name?");
    // start running the movie/game animation
    if (gameLoop == null) {
    gameLoop = new Thread(this);
    gameLoop.start();
    * Called when the gameLoop thread is started
    * loops continuously until user quits
    public void run() {
    int input = Input.NONE;
    // game loop
    while (input != Input.QUIT) {
    // what is the current time?
    frameStartTime = System.currentTimeMillis();
    input = checkInput();
    if (gameState != STOPPED) // only necessary if the movie or game is showing
    currentPanel.processInput(input);
    currentPanel.update();
    currentPanel.repaint();
    } else
    showStatus("Press 'G' to start game, 'M' to show movie or 'F' to show the second movie");
    frameDelay(100);
    * called when the Applet is stopped
    * stops the gameLoop thread
    public void stop() {
    if (gameLoop != null) {
    gameLoop.interrupt(); // stops the animation thread
    gameLoop = null;
    * called from the gameLoop
    * checks for the last key stroke input by the user
    * @return int - Input class constant representing user input
    public int checkInput() {
    int input = Input.checkUserInput();
    switch (input) // how the input is handled depends on the current game state
    case Input.GAME:
    // the user wants to play the game
    if (gameState == STOPPED) // not currently playing a game or movie
    // display the panel showing the game
    currentPanel = theGame;
    this.getContentPane().add(BorderLayout.CENTER, currentPanel);
    this.validate();
    // set up a new game
    theGame.resetGame();
    gameState = PLAY_GAME;
    showStatus("Use arrow keys to move Monster, S key to stop");
    } // otherwise ignore
    break;
    case Input.MOVIE:
    // the user wants to see the movie
    if (gameState == STOPPED) // not currently playing a game or movie
    // display the panel showing the movie
    currentPanel = theMovie;
    this.getContentPane().add(BorderLayout.CENTER, currentPanel);
    this.validate();
    gameState = SHOW_MOVIE;
    showStatus("Press S key to stop");
    } // otherwise ignore
    break;
    case Input.MOVIE2:
    // the user wants to see the second movie
    if (gameState == STOPPED) // not currently playing a game or movie
    // display the panel showing the movie
    currentPanel = theMovie2;
    this.getContentPane().add(BorderLayout.CENTER, currentPanel);
    this.validate();
    gameState = SHOW_MOVIE2;
    showStatus("Press S key to stop");
    } // otherwise ignore
    break;
    case Input.STOP:
    // the user wants to stop the movie or game being shown
    if (gameState == SHOW_MOVIE ) {
    this.getContentPane().remove(currentPanel);
    currentPanel = null;
    JOptionPane.showMessageDialog(this,
    "OK " + name + " I've stopped the movie");
    } else if (gameState == PLAY_GAME) {
    this.getContentPane().remove(currentPanel);
    currentPanel = null;
    JOptionPane.showMessageDialog(this,
    "OK " + name + " I've stopped the game");
    } else if (gameState == SHOW_MOVIE2 ) {
    this.getContentPane().remove(currentPanel);
    currentPanel = null;
    JOptionPane.showMessageDialog(this,
    "OK " + name + " I've stopped the movie"); }
    gameState = STOPPED;
    showStatus("Press 'G' to start game, 'M' to show movie");
    break;
    Input.reset(); // reset the input module
    requestFocus();
    this.repaint(); // redisplay the applet
    return input; // return for further processing (eg to control movement of Monster)
    * called from the gameLoop
    * pauses between frames
    * @param millis long - minimum frame time
    public void frameDelay(long millis) {
    long currentTime = System.currentTimeMillis(); // what time is it now?
    long elapsedTime = frameStartTime - currentTime; // how long has it been since the start of the frame?
    if (elapsedTime < millis) // is it time to showing the new frame yet?
    try {
    Thread.sleep(millis - elapsedTime); // pause for the remaining time
    } catch(Exception e) {
    Thats the whole code for the applet- preloadin the image (and also everything that doesnt relate to this problem lol). Ive asked around and the answer I was given I wasnt satisfied with- make the files smaller/delete some- the files are already at their smallest about 10kb each. And also apparently (I didnt know this...) but due to security restirictions I wouldnt be able to increase the heap size anyway (this is to run the applet on my own... and others computers).
    So Im really too sure what to do at the minute. Anymore help would be appreciated though.
    Thank you!
    Senor-Cojones

  • Out Of Memory Error - Weblogic server

    Hi,
    We are facing following errors in our production environment frequently...
    Please guide us how can we identify root cause.. because every time this error come in different functionalities so we can not blame one functionality (Code)...
    Error # 1
    ======
    <Jun 18, 2009 4:24:41 PM IST> <Error> <Socket> <BEA-000405> <Uncaught Throwable in processSockets
    java.lang.OutOfMemoryError: .
    java.lang.OutOfMemoryError:
    >
    <Jun 18, 2009 4:24:45 PM IST> <Error> <Server> <BEA-002608> <The ListenThread because of an error: java.lang.OutOfMemoryError: memsystemAllocObject - Object size: 24
    java.lang.OutOfMemoryError: memsystemAllocObject - Object size: 24
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
         at java.net.ServerSocket.implAccept(ServerSocket.java:450)
         at java.net.ServerSocket.accept(ServerSocket.java:421)
         at weblogic.socket.WeblogicServerSocket.accept(WeblogicServerSocket.java:34)
         Truncated. see log file for complete stacktrace
    >
    Error # 2
    ======
    <Jun 18, 2009 7:32:27 PM IST> <Error> <Server> <BEA-002608> <The ListenThread because of an error: java.lang.OutOfMemoryError:
    java.lang.OutOfMemoryError:
    >
    <Jun 18, 2009 7:32:27 PM IST> <Error> <Server> <BEA-002608> <The ListenThread because of an error: java.lang.OutOfMemoryError: memsystemAllocObject - Object size: 24
    java.lang.OutOfMemoryError: memsystemAllocObject - Object size: 24
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
         at java.net.ServerSocket.implAccept(ServerSocket.java:450)
         at java.net.ServerSocket.accept(ServerSocket.java:421)
         at weblogic.socket.WeblogicServerSocket.accept(WeblogicServerSocket.java:34)
         Truncated. see log file for complete stacktrace
    >
    Thanks in Advance.
    Edited by: Rushang.Kansara on Jul 1, 2009 6:46 AM

    Once you get to the state where you're out of memory, you'll get any number of possible variations on the error message. These variations will give you absolutely zero help for why you've run out of memory. Without more information, it's impossible to tell whether you have a memory leak, or whether you simply have too small a value for "maxmem" in the JVM.
    Typically, I would assume that if the server has been running for a "while" (whatever that means) without error, then it probably isn't a simple issue with setting the "maxmem" value high enough. If it does fail pretty quickly after startup (and processing of initial messages), then it very well could be a maxmem problem. This is done by adding or changing the "-Xmxnnn" command-line parameter to the JVM. For instance, if you wanted to give it 2g of max heap, you would put "-Xmx2048m" on the command line. That value won't work on Windows (not sure about Vista or 64-bit), but it will work perfectly well on Unix/Linux.
    If you have a memory leak, it's good to first verify this by sitting on the "Server"->"Performance" page in the WebLogic console. If you watch the "memory free" (or "memory inuse") percentage, you'll see that it varies by a wide margin over time. What you want to do is to be able to force a GC (there should still be a button there to do that) and then note the percent free immediately after that. You should do this every few minutes while the server is actively working. If the percent free value (after the GC) is consistently going down, even slowly, then you likely have a memory leak. This is where it gets a little more difficult. You could look at the free VisualVM tool which provides some memory debugging features, but they are somewhat limited (I only know this from reading some literature, I haven't tried it), or you could look at the commercial tools JProfiler, JProbe, or YourKit (in decreasing order of my personal preference).

  • In the new i pad i have error marmalade v6.0.2 the tells my to that heap 1 out of memory and tells my to increase icf setting memsize 1 how do i do that ??

    ??

    Hi, I have been having the same problem for about 2weeks, keep deleting the app and reinstalling but this does not help. I even deleted it from Facebook as that's where u play thru, but that doesn't help either!!!!!! Its driving me mad. Any luck and I'll let u know

  • Java Heap Space Issues

    Greetings. I hope this is the right forum
    I have a project, a chess program, that makes use of some very large static arrays. As I experiment with increasing the size of the arrays, I eventually run into heap space out of memory errors when instantiating these arrays.
    My research has suggested various ways of adjusting the amount of memory available to the Java Runtime Environment. I am pretty sure I can deal with that.
    My comment is that there does not appear to be a way to deal with this programmatically, from within my program. I'd like to make my program available on the web in applet form. If I do so it appears that I have to either limit the size of my arrays, or else instruct any potential user to adjust JVM settings themselves, outside of my program. Do I have this right?
    Thanks.

    ok I know nothing about jnlp but this looks promising. The following quote from that page suggests to me a way to package my program, with a minimum of modification, so that resources are allocated to the JVM before the application is loaded. The point being that the end user doesn't need to manually adjust the settings. Thanks, I'll give it a try.
    By default, jar and nativelib resources will be downloaded eagerly, i.e., they are downloaded and available locally to the JVM running the application before the application is launched.  The jar and nativelib elements also allow a resource to be specified as lazy.  This means the resource does not have to be downloaded onto the client system before the application is launched.

  • 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

  • Getting Error Out Of Memory while importing the work repository in ODI 10g

    I exported the work repository from topology of ODI 10g of one DB and tried importing it in the another ODI 10g topology of another DB.While importing i got the error 'Out of Memory' .
    Can somebody suggest me ,how to solve the heap size out of memory issue while importing in ODI 10g.
    Thanks in Advance.

    Hi,
    you have to post your question in ODI forum
    Data Integrator
    Suresh

  • Out of memory: Java heap space

    Hello,
    I am working on a project, that simulates large populations, with each individual being a separate Objecta(a couple of kilobytes in size each).
    Once i reach a bug enough number of those Objects (stored in a Vector), i get Out of memory: Java heap space exception.
    Am i having a memory leak in Java? Or am i really reaching the maximal JVM limit and i need to reconfigure it, to support larger heap size?
    :)

    Am i having a memory leak in Java?Because of garbage collection there, by far and large, aren't memory leaks in java. However, there certainly is memory waste.
    If each of these objects you make room for are unnecessarily laden with references to other large objects creating huge networks of objects that never free their memory, and then you allocate 1 million of them, then, while not a leak, you are wasting your memory space.
    Look through your class and inspect each field to see if any of them could be holding more data than you intend. If so, multiply the amount of that data by 1,000,000 or however many objects you are going to instantiate to determine if this produces and absurd amount of memory. You should be able to predict ~how much storage your data will need...each char is 2bytes, each int is 4 bytes, doubles are 8 etc

  • 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

  • Out of HEAP vs. out of NATIVE memory

    I'm working on a document to help our support team classify our customers' out-of-memory errors and know whether it is due to HEAP or NATIVE MEMORY. I've pulled some errors we've seen in domain logs from customers and tried to classify them. Can someone tell me if I got these right?
    These are the ones I think are out of heap errors:
    1) Allocation of … bytes failed for heap
    TLA bailout requested
    TLA unwind thread links
    2) java.lang.OutOfMemoryError
    3) Throwing OutOfMemory: nativeGetNewTLA
    Throwing OutOfMemory: allocLargeObjectOrArray
    These are the ones I think are out of native memory:
    4) Throwing OutOfMemory
    Unable to equeue element
    JRockit aborted: Out of memory (68)
    5) JRockit aborted: Out of memory (68)
    Failed to acquire native memory. Try reducing Java heap size
    I'm not sure if we've seen this one yet after upgrading to WebLogic 10 from WebLogic 8
    Thanks,
    -Bill

    Hi,
    I have some similar problem.
    I have have the Maximum heap size set to 4GB, but the total java process takes up to 40GB or 64GB memory. I had this problem in September last year, and it came back yesterday.
    I would like to know what in the code of my application can make JRockit behave this way; I get no OutOfMemorError which means that my application does not use too much memory, so what does ??
    Any ideas are really welcome :)

  • Out of heap space erorr

    Hi guys,
    My app is mainly a wordlist crunching program. Its a swing app.
    There are two flat files about 10 MB each. The first part of the app is supposed to read all that data from the two sperate flatfiles and put them into two seperate Hashtables.
    The first first file get loaded fine into the Hashtable. But during the loading of the second file, the program crashes giving a "out of Heap space" error.
    Is this due to a memory leak? ( But thats not supposed to happen in Java) or the JVM with its default memory allocation cannot support processing such huge flat files?
    I dont want to use the -Xmx option cuz thats what I am gonna use as a programmer. But when i deploy the application. nobody is going to use this option to run the program each time.
    What do you think guys? How can this be solved?
    Message was edited by:
    arijit_datta

    Hi , all objects in java live on Heap..As objects grow on the heap ,available space on heap will be decreased , In such cases you will get that error..
    to solve the problem,unreachable objects needs to be deleted from the heap..
    I hope the following can solve yr problem.
    1) make null all unuseful object references ( all unused object refrences related to your first file..
    obj=null;
    2)Call System.gc() method before loading your second file or at end of the first file.
    Consider this Example
    import java.util.Date;
    public class CheckGC {
    public static void main(String [] args) {
    Runtime rt = Runtime.getRuntime();
    System.out.println("Total JVM memory: " + rt.totalMemory());
    System.out.println("Before Memory = " + rt.freeMemory());
    Date d = null;
    for(int i = 0;i<10000;i++) {
    d = new Date();
    d = null;
    System.out.println("After Memory = " + rt.freeMemory());
    rt.gc(); // an alternate to System.gc()
    System.out.println("After GC Memory = " + rt.freeMemory());
    Thanks
    RajaSekhar K

  • Weblogic 6.1 deployment out of memory error - please help

    I am getting an out of memory error when deploying an ear to a weblogic 6.1 server. I tried increasing heap size with the startup param. I also tried upgrading the jdk to 1.3.1_02. Here is how I am starting weblogic -
    "%JAVA_HOME%\bin\java" -hotspot -XX:MaxPermSize=256m -ms64m -mx64m -classpath "%CLASSPATH%" -Dweblogic.Domain=mydomain -Dweblogic.management.discover=false -Dweblogic.Name=myserver "-Dbea.home=C:\bea" -Dweblogic.management.password=%WLS_PW% -Dweblogic.ProductionModeEnabled=%STARTMODE% "-Djava.security.policy==C:\bea\wlserver6.1/lib/weblogic.policy" weblogic.Server
    I tried 64, 128, and 256 for the MaxPermSize param and the larger I make this number, the longer the deploy takes. I also tried lowering the session timeout to 1 min from 30. Now, when I deploy to the weblogic connection, jdev writes the war, then hangs. The rest of my desktop is slow but responsive, but I let jdev go for up to 1hr when running this deploy, and it never even starts the weblogic.deploy call. I end up killing it. This ear is not very big and is a simple servlet.
    Any thoughts?

    repost

  • Consequences of out of heap space errors

    Hello,
    I'm curious what are the consequences of an out of heap space error. If my application is running and I get a heap space error does this corrupt my application? If I had some variable x = 123 can a out of heap space error corrupt x to make it -123?
    Thanks

    Hello,
    I'm curious what are the consequences of an out of
    heap space error. If my application is running and I
    get a heap space error does this corrupt my
    application? If I had some variable x = 123 can a
    out of heap space error corrupt x to make it -123?
    No.
    Corrupt is to harsh of a word.
    However where you run out of space can make your application unusable. For example you might run out of space when loading a new class. Or when creating a new thread. Does your code account for that? If not then that could be a problem.
    On the other hand if you are creating a large data structure and at some point you run out of memory then if you just go back to where you started the creation and remove all references then it shouldn't impact your application.

  • Weblogic generating out of memory error when commandline run doesn't

    Hello,
    I am just beginning to use weblogic. I have a jar file which runs fine if run from command line with the options
    "C:\Program Files (x86)\Java\jre6\bin\java" -jar -Xms1024m -Xmx1024m Report.jarIt connects to oracle and selects some data around (500k records) and writes it to a csv.
    When I run the same jar from within a web application (I mean obvoiusly a servlet calling the jar's main method) the webapp generates
    out of memory error after 80k records itself.
    I tried changing the configuration the server Startup arguments from the console (Server Start and then Arguments) and then restart.
    I just wrote the same thing there -Xms1024m -Xmx1024m
    I guess I am missing something. Please share your answers.
    Environment :
    Win2k8, weblogic 10gR3, jdk 1.5. The application is installed as a service.
    Thanks,
    Neetesh
    Edited by: user13312817 on 5 Dec, 2011 12:15 AM

    If you are not using NodeManager, then I don't think those server settings actually control anything. If you are just exploring WLS, then I suspect you are simply starting an AdminServer in a basic domain and don't have a cluster/nodemanager based environment. I could be wrong, please correct as needed!
    If you are simply starting your WebLogic Server instance using the startWebLogic.sh|cnd script, you can set an environment variable on the command shell that will be picked up and used when the server starts.
    set USER_MEM_ARGS=-Xmx1024 -Xms1024m
    * apply appropriate *nix changes as appropriate.
    Then use the startWebLogic.sh|cmd script to start the server and test your application.
    It may very well be the case that your particular application consumes > 1GB heap so you may need more. Remember that you now have a server environment running over your "main" class, so there is bound to be more memory used that could be just sneaking your heap use over 1GB. For example.
    -steve-

  • WEBLOGIC - java.lang.OutOfMemoryError: Java heap space

    hi,
    i am using Weblogic 10.3 in production mode
    We are getting error " java.lang.OutOfMemoryError: Java heap space " frequently , and
    we are using the default args
    JAVA Memory arguments: -Xms256m -Xmx512m  -XX:MaxPermSize=512m
    OS - > Windows Server 2003
    please help
    Regards
    Jeethi George

    Hi George,
    The Setting you have provided is wrong ...that is the reason you are getting OutOfMemory in Heap.
    Your Setting is (As you have mentioned in your very first post): JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=512m
    Just a Bit Explaination:
    Formula:
    (OS Level)Process Size = [ Java Heap   (+)   Native Space (+) (2-3% OS related Memory) ]
    PermSize : It's a Netive 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 As 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 = (MaxHeapSize/3) ----Very Special Cases
    MaxPermSize = (MaxHeapSize/4) ----Recommended
    In your Case -Xmx and -XX:MaxPermSize bith are same ....That is the reason you are getting the OutOfMemory Error in Heap.
    We should increase/tune the MaxPermSize when we deploy a very large application (like a WebApplication which uses many JSPs, or PageFlows/Portal framework etc.) in our Server.
    What should be the exact setting of these parameters depends on the Environment /Applications etc...
    But Just try -Xmx1024m   -Xms1024m  -XX:MaxPermSize256m
    Another recommendation for fine tuning always keep (Xmx MaxHeapSize & Xms InitialHeapSize same).
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

Maybe you are looking for

  • How to configure Item Category in Purchase Order document

    Hi Can someone tell me how to configure the Item Category in Purchase ORder document?  This field is displayed next to Account Assignment in PO screen. Thanks, Lin-Lin

  • Is OS X Mavericks compatible with HP Photosmart C4280?

    I am waiting to upgrade to Mavricks until I know if my printer will be compatible with Mavericks. I checked the HP website, and there are currently no drivers for my printer. Does this mean that the printer won't be compatible or do I just have to wa

  • IPad won't connect to Wi-Fi at home

    I've been messing with this quite a bit last night. Brand new iPad, just updated it through iTunes last night, and can't get it to connect the internet. My iPhone connects just fine (also running 6.1) so I don't see where the problem could be. There'

  • Why does Photoshop Elements 10 print dark and red, and not match the computer screen?

    I switched from Photoshop Elements 7 to Photoshop Elements 10.  I cannot get a print of a photo that matches the screen.  Photos are dark and red.  I cannot edit the photos because I do not know what will print out.   I have switched back to Photosho

  • Tree of org unit

    hallow did some have a exemple of report like tree of org unit that when you open u see org unit and under org unit and employee regards