This is to sum up the problem. Here are facts :

This is to sum up the problem. Here are facts :
1. Java process size grows to ~ 3G and eventually exhaust native memory. Only
data segment of the process grows in size.
2. Java heap size remains stable, way under the max size. Perm generation
size is stable, way under the max size.
Here is a table showing evolution of Java process Virtual Memory
Start Monitoroing Java exited with OutOfMem
VmSize: 2764108 kB VmSize: 3094912 kB
VmLck: 0 kB VmLck: 0 kB
VmRSS: 1737364 kB VmRSS: 2020136 kB
VmData: 2461448 kB => VmData: 2792252 kB
VmStk: 216 kB VmStk: 216 kB
VmExe: 56 kB VmExe: 56 kB
VmLib: 301488 kB VmLib: 301488 kB
Plase note that Exe, Stack and Libs are the same at the beginning and the endof the period. Data segment increased for about 0.4G. The memory leak takes place in the native code.
Here is our log
     05/08/13 07:38:10 java.lang.OutOfMemoryError: unable to create new nativethread
     05/08/13 07:38:10 at java.lang.Thread.start(Native Method)
     05/08/13 07:38:10 at com.evermind.util.ReleasableResourcePooledExecutor.addThread(ReleasableResourcePooledExecutor.java:121)
     05/08/13 07:38:10 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.execute(PooledExecutor.java:978)
     05/08/13 07:38:10 at com.evermind.util.ThreadPool.launch(ThreadPool.java:255)
     05/08/13 07:38:10 at om.evermind.server.http.AJPConnectionListener.run(AJPConnectionListener.java:74)
     05/08/13 07:38:10 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
     05/08/13 07:38:10 at java.lang.Thread.run(Thread.java:534)
     Exception in thread "CompilerThread1" java.lang.OutOfMemoryError: requested 612052 bytes for Chunk::new. Out of swap space?

100M doesn't seem too extreme ... I ran a test program that created 100 sleeping threads, and ps -l reported the process size as 77M. I don't know Linux well enough to know the threading model (I suspect it's LWP-per-thread, which means that ps -m will give correct output).
However, given what you've shown (heap doesn't grow, process map does, failure occurs in code that starts a new thread), it really seems that your problem has something to do with too many threads.
My first thought, since I've seen it before is that there may be fragmentation of the memory map, such that there's no available segment when the JVM tries to allocate the stack for a new thread. When I saw this problem, the JVM (1.3 Solaris) was using a pretty naive approach to mapping those blocks, such that a few long-lived threads would cause it to run out of space. This information is available in the /proc/maps directory (man proc for more info).
There could also be some limit to the number of threads you can create. I know that Solaris returns ENOMEM when it's unable to create a thread; not sure what Linux returns.
Finally, I'm going to suggest again that you put logging messages in the thread factory that you're giving to the pool. Since you control that code, it's an excellent way to watch what's really happening at the time you run out of memory.

Similar Messages

  • I have a new laptop so I download again iTunes...the problem here is that I just got a cd and I tried to put it on my iPod and it won't let me, how can I fix this?

    I have a new laptop so I download again iTunes...the problem here is that I just got a cd and I tried to put it on my iPod and it won't let me, how can I fix this?

    The iPod sees the new computer as a new iTunes library. You can only sync with one iTunes library.  However, you can manage music among disfferent computers.  See:
    Using iPhone, iPad, or iPod with multiple computers

  • I have downloaded the Creative Cloud and when it finished, it opened up and was completely blank. Nowhere for me to sign in and no apps for me to click to download. I need this to be fixed ASAP. What is the problem here?

    I have downloaded the Creative Cloud and when it finished, it opened up and was completely blank. Nowhere for me to sign in and no apps for me to click to download. I need this to be fixed ASAP. What is the problem here?

    BLANK Cloud Screen http://forums.adobe.com/message/5484303 may help
    -and step by step http://forums.adobe.com/thread/1440508?tstart=0
    -and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html

  • The problem here is i am not able to get the data from the list

    hi all,
    i have the following code
    EnrichedProductCatalogue enrichedProductCatalogue1 = new EnrichedProductCatalogue();
    enrichedProductCatalogue1.setAssetCount(2);
    enrichedProductCatalogue1.setBlockingProduct("Weekend Freebee");
    enrichedProductCatalogue1.setBlockingReason("Compatability");
    ArrayList<String> availableActionsList = new ArrayList<String>();
    availableActionsList.add(EnrichedProductConstants.ADD.toString());
    availableActionsList.add(EnrichedProductConstants.REMOVE.toString());
    enrichedProductCatalogue1.setAvailaibleActions((ArrayList<String>)availableActionsList);
    BundleProduct bundleProduct = null;
    Product product = new Product();
    product = new Product();
    product.setProductName("International");
    product.setProductClassName("International");
    ArrayList<UiCategory> uiCategory = new ArrayList<UiCategory>();
    UiCategory uiCategory1 = new UiCategory();
    uiCategory1.setCategoryName("Simply");
    UiCategory uiCategory2 = new UiCategory();
    uiCategory2.setCategoryName("Freebees");
    uiCategory.add(uiCategory1);
    uiCategory.add(uiCategory2);
    product.setUiCategory(uiCategory);
    bundleProduct = new BundleProduct();
    bundleProduct.setCommercialProduct(product);
    enrichedProductCatalogue1.setBundleProduct(bundleProduct);
    listOfEnrichProducts.add(enrichedProductCatalogue1);
    listOfEnrichProducts.add(enrichedProductCatalogue1);
    here i have an list called listOfEnrichProducts.
    here i am adding two objects of enrichedProductCatalogue.
    which contains a object called BundleProduct.
    which has a reference for Product class.
    here this product class has a list which contains objects of another class called UiCategory.
    the problem here is i am not able to get the data from the list which contains UiCategory objects .
    the following is the UI
    <af:table var="row" rowBandingInterval="0" id="t1"
    value="#{pageFlowScope.sample1}"
    binding="#{pageFlowScope.sampleManagedBean.dataTable}"
    partialTriggers="apimethods ::apimethods">
    <af:column sortable="false" headerText="ProductName" id="c2">
    <af:outputText value="#{row.bundleProduct.commercialProduct.productName}" id="ot15"/>
    </af:column>
    <af:column sortable="false" headerText="ProductClass" id="c12">
    <af:outputText value="#{row.bundleProduct.commercialProduct.productClassName}" id="ot19"/>
    </af:column>
    <!--
    <af:column sortable="false" headerText="UICategoryName" id="c32">
    <af:forEach var="item" items="#{row.bundleProduct.commercialProduct.uiCategory}" >
    <af:outputText value="#{item.categoryName}" id="ot119"/>
    </af:forEach>
    </af:column>
    -->
    <af:column sortable="false" headerText="AssetCount" id="c22">
    <af:outputText value="#{row.assetCount}" id="ot1"/>
    </af:column>
    <af:column sortable="false" headerText="blockingReason" id="c3">
    <af:outputText value="#{row.blockingReason}" id="ot2"/>
    </af:column>
    <af:column sortable="false" headerText="blockingProduct" id="c4">
    <af:outputText value="#{row.blockingProduct}" id="ot3"/>
    </af:column>
    <!--<af:column sortable="false" headerText="availaibleActions" id="c1">
    <af:commandButton text="#{row.availaibleActions}" id="cb1"
    actionListener="#{pageFlowScope.sampleManagedBean.callAction}"
    partialSubmit="true">
    <af:setPropertyListener from="#{row.availaibleActions}"
    to="#{pageFlowScope.avalibleaction}" type="action"/>
    </af:commandButton>
    </af:column>-->
    </af:table>
    Can anyone pls give some solution ...

    Hi Frank,
    value="#{pageFlowScope.sample1}"
    here sample is
    Map<String, Object> flowScope1 =
    ADFContext.getCurrent().getPageFlowScope();
    flowScope.put("sample1", listOfEnrichProducts);
    this is not the problem . i am able to get all the values except the following .
    ArrayList<UiCategory> uiCategory = new ArrayList<UiCategory>();
    UiCategory uiCategory1 = new UiCategory();
    uiCategory1.setCategoryName("Simply");
    UiCategory uiCategory2 = new UiCategory();
    uiCategory2.setCategoryName("Freebees");
    uiCategory.add(uiCategory1);
    uiCategory.add(uiCategory2);
    product.setUiCategory(uiCategory);

  • Since upgrading to iphoto 11 I,m having difficulty viewing my photos in edit mode. On the quick scan of info mode the photos appear sharp, however in edit mode the edges blur up making it very difficult to edit properly, What is the problem here?  I never

    Since upgrading to iphoto 11 I,m having difficulty viewing my photos in edit mode. On the quick scan of info mode the photos appear sharp, however in edit mode the edges blur up making it very difficult to edit properly, What is the problem here?  I never

    Marisa, you stand a better chance of getting an answer concerning iPhoto by posting this question in the iPhoto forum
    https://discussions.apple.com/community/ilife/iphoto

  • Hi Guys, I have a problem with Importing Pictures onto my Mac mini with Lion installed by using a Card Reader, What is the problem here so I can get Pictures onto my Computer. ,

    Hi Guys,
    I have a problem with Importing Pictures onto my Mac mini with Lion installed by using a Card Reader,
    What is the problem here so I can get Pictures onto my Computer. ,

    Hi Noob Søren
    There are a few things that are confusing in your question.
    As far as I know, you dont have to install Time Machine on this OS as it is already installed for you. You only need to connect a hard drive to your computer via firewire or usb, click on the Time Machine icon, Open Time Machine Preference in the drop down menu and select a disk: your connected hard drive.
    You can of course reformat this connected device, partition it into a few volumes to organise data if you so wish.
    I find it strange that your mac's hard drive is divided into two volumes... perhaps this was created through bootcamp?
    You can access the configuration of your hd through Applications/Utilities/Disk Utilities.
    Clicking on one of the icons on the right hand panel will bring the details of the contents of your hardDrive and volumes. From there you can decide to erase a partition, reformat etc....
    If your hd contains more than one volume, and one of them is empty, you could decide to remove it. Back up all your important data before doing so.
    Hope this helps
    WN

  • HT1473 if my song is repeated 3 times in my iPad, what's the problem here?

    if my song is repeated 3 times in my iPad, what's the problem here?

    I am also encountering this issue and I am running 10.7.4.
    Here's a link to a .dmg installer for iTunes 10.7.0.21 (which is compatible with Snow leopard or above):
    http://www.apple.com/itunes/download/
    Are you able to update using that?

  • My ipod touch keeps getting restarted. Be it while playing games or listening to music. Whats the problem here?

    My ipod touch keeps getting restarted. Be it while playing games or listening to music or browsing thru the app store. Whats the problem here?

    Oh, you do one thing, back up your iPod to iTunes. Plug your iPod to the iTunes and when it appears under devices tree on the sidebar, right click on it, and back it up.
    After the backup completes, jus click on restore button. If required it will download the latest iOS from the servers (Might take sometime) and after it's downloaded, it will erase all your data and settings, restoring to factory settings.
    After you have completed restoring the iPod, jus set it up as new iPod.
    Sync back all the apps, music, movies.
    And make sure you quit the apps, by double clicking the home button and pressing and holding the app icons and clicking on
    This should help your problem anyhow!
    It might be a case that the files in the apps, or the preferences might be corrupted, jus to be safe, we have a backup.

  • I can't open Itunes on my laptop. "Itunes has stopped working. A problem causes the program to stop working correctly. windows will close the program and notify you if a solution is available" is the message. what is the problem here?

    I can't open my Itunes program in my laptop computer with windows 8. the message is "Itunes has stopped working. A problem causess the program to stop working properly. windows will close the program and notify you if a solution is available". I reboot  the machine, Uninstall and re install the  Itune program, stilll the same message pops up.

    The first thing to try is System Restore to take you back to a point in time when it did work. If that is not successful, create a new user on the computer. log in with that and see if ID will start. This will tell us if the problem is in the system/program or the user account.
    If it works in a new user account, see Replace Your Preferences and in addition to replacing the prefs, empty the InDesign Recovery folder that will be in the same location and the InDesign SavedData file.

  • Am trying to install the mas os yosemite and its giving me an error message that "The Install OS X Yosemite application can't be used from this disk". What is the problem?

    Am trying to install the mac os yosemite and its giving me an error message that "The Install OS X Yosemite application can't be used from this disk". What is the problem?

    Impossible to answer with information provided

  • When i open my itunes store, it says secure link to itunes failed and it doesnt load up, what seems to be the problem here? appreciate all the help i can get, thanks! :)

    When i open my itunes store, it says secure link to itunes failed and it doesnt load up, what seems to be the problem here? appreciate all the help i can get, thanks!

    Yes, provided all the media is inside the iTunes Media folder, which is in turn inside the main iTunes folder (which is the standard arrangement) you should be able to move the iTunes folder from <User's Music> to any other path and shift-start-Tunes (option-start-iTunes on a Mac) to reconnect to it.
    If the media folder has split out to another drive in the past, or media is stored outside of the iTunes Media folder, then things get a bit more complicated. I can go into details should it be necessary.
    tt2

  • After updating to ios 5, my calendar sometimes freezes when entering a new event. I have tried syncing but it doesn't fix the problem. Are there any bug fixes for this? Any ideas would be great thanks, I don't really want to have to reset everything!

    After updating to ios 5, my calendar sometimes freezes when entering a new event. I have tried syncing but it doesn't fix the problem. Are there any bug fixes for this? Any ideas would be great thanks, I don't really want to have to reset everything!

    Try to reset the iPod by  pressing the home and sleep button for about 10sec, until the Apple logo comes back again. You will not lose data doing a reset, but it can clear some glitches after installing new software or apps.

  • My iPad says that she is busy and is unable to accept my request even when everything is closed and nothing is being used. What might be the problem here?

    My iPad says that she is busy and is unable to accept my request even when everything is closed and nothing is being used. What might be the problem here?  3 times my iPad has crashed while nothing was open or running and a small loading wheel would be moving signifying that the thing was loading something without permission.  Even when the dang thing was on my personal wireless service that I pay for.

    similar to what is happening to me....the difference is, after restoring itunes detect ipod and ask to restore again and again....
    I know it may look kinda stupid but: just leave the ipod there for about 2 minutes, that's about the time my itunes is taking to detect my ipod...if it doesn't work, try connecting ur ipod to other computer with itunes (no need to sync, just to check if itunes will recognize) to check if the problem is with the ipod or with the itunes and/or computer.

  • I see lots of people asking questions about the "white screen" app store update failure. I see no answers from Apple about this...What is the problem, and what is the solution?

    I see lots of people asking questions about the "white screen" app store update failure. I see no answers from Apple about this...What is the problem, and what is the solution?

    It's a problem that Apple is having with their App updating system.  The best solution is to be patient, and wait for Apple to solve their systemic problem.

  • I have an ipod touch. previously when i did not update it it used to download skype and kik messenger but now when i have updated it it wont download any od them. i have 4.2.1 software at the moment. im really confused, what might be the problem here?

    i have an ipod touch. previously when i did not update it it used to download skype and kik messenger but now when i have updated it it wont download any od them. i have 4.2.1 software at the moment. im really confused, what might be the problem here?

    Many developers when they updated their apps fro the newer iOSs dropped support for the older iOSs. That included Skype and other developers. Unless you have a copy of the apps version that was compatible with your iPod/iOS you are out of luck. Do you cave such a copy in a computer file backup??

Maybe you are looking for

  • Problem in Saving Images in Single Folder in Nokia...

    I want to know how to transfer images keeping it in folder. I connect my E63 with USB.I copied my "Photos" folder from my laptop,then opened "File Manager" in Nokia PC suit. There I get 2 options. 1)Memory Card 2) Phone Memory.I select memory card, I

  • Change Data Capture in SQL Server

    Post Author: rtamanji CA Forum: Data Integration I am having primary key constraint problems whenever there is a failure during the data flow from the source to the target, and I have to restart the process. It looks like check points only occurs if

  • Commcli problem

    Hello, trying to use commcli to list users, modify domain, anything, it fails with the following message when running in debug mode: [Debug]: RECV: FAIL [Debug]: RECV: com.sun.identity.authentication.spi.AuthLoginException: Failed to create new Authe

  • Quantity Falls Below Minimum Inventory Level

    Hi!, I have an item that we manage  by warehouse, we've set the minimum inventory level to 5000 pieces. So the MRP has procured me 5000 pieces through a purchase order. I received my item through Goods Receipt PO and now that I want to transfer it to

  • Infoset Query- F4 help missing for few selection fields

    Dear Experts, While creating Infoset/ Quick view queries, I find few fields of the selection screen are not having F4 help. How this happens and How to correct this? Regards Jogeswara Rao