Allocated heap memory goes up even when there is enough free memory

Hi,
Our Java application's memory usage keep growing. Further analysis of the heap memory using JProbe shows that the allocated heap memory goes up even when there is enough free memory available in the heap.
When the process started, allocated heap memory was around 50MB and the memory used was around 8MB. After few hours, the inuse memory remains at 8MB (slight increase in KBs), but the allocated memory went upto 70MB.
We are using JVM 1.5_10. What could be the reason for heap allocation going up even when there is enough free memory available in heap?
-Rajesh.

Hi Eric,
Please check if there is any error or warning in the Event Viewer based on the data time?
If there is any error, please post the event ID to help us to troubleshoot.
Best Regards,
Anna

Similar Messages

  • Ipod touch won't sync all of the music even though there is enough free space

    my ipod touch won't sync all of the music even though there is enough free space. what can i do to make sure all of the music syncs?

    Seen this tech note?
    Syncing music to iPod or iPhone - Apple Support

  • "Not enough free space" error message when there is enough free space

    Last night I decided to put a few more songs on my iPod, but when I tried I got the following error message:
    "The iPod cannot be synced because there is not enough free space to hold all of the items in the selected playlists."
    I know that is a load of crap because it says I have 2.59 gigabytes of free space, and I'm only trying to put 11 or 12 new songs on there. I have checked the settings to make sure that it isn't trying to upload my entire iTunes library, and it's not. I have the latest version of both iTunes and the iPod software. I've tried restarting, reinstalling, and all that... Any suggestions?

    First of all, thanks for the replies.
    I gave it another try today; I deleted the old files and ripped them to my computer again, this time using Windows Media Player instead of iTunes. I tried transferring them to my iPod again and this time it worked. As always iTunes had to convert them to files that it could read, but then it took just a few seconds and all of them made it to my iPod.
    I don't know what the problem was the first time around. I checked the file sizes, and the largest was 4.2 MB. There were about 11 songs. It was just a typical audio CD and its total length was 44 minutes.
    I guess from now on I'll just import CDs with Windows Media Player and then let iTunes convert them so that I can have even more files on my computer. Oh well. If that's what it takes... Sometime when I have a lot of time to fool around I'll try to see if something is going wrong when I'm importing them with iTunes.
    Thanks again for the responses!

  • Is 500mb of swap used normal when there is still free memory?

    Kind of worried First mac so might be abit new to OS X. Thanks in advance!

    Kev~* wrote:
    Right now I still have a relatively small number of apps that are open (~8-9), which doesnt justify such high ram usage, much less 500mb of swap.
    The number of applications actually doesn't matter one bit. It's the type of applications and what kind of RAM they need. I have read some Mac engineers say that some applications need to preallocate RAM because of what they do, although OS X provides for ways to do that which will allow that RAM to be released to other applications if needed.
    I could open 12 consumer apps and not see much change in swap file usage. But I could reboot and open just Photoshop and have it make a panorama or HDR of several DSLR images, or fire up a single 3D, motion graphics, or scientific program, and RAM/swap file requirements could instantly outpace anything general office apps could ever need.
    Since you're new to OS X, you might want to become familiar with the UNIX memory management model that OS X uses. In other words, RAM management in OS X may be unlike what you were used to before, but its UNIX-based model is normally very efficient, especially with the new Mavericks RAM compression.
    Also, based on what I've seen (using graphics apps), only 500MB swap wouldn't even get my attention...

  • Database Instance Using Swap Space even When There is Plenty of Free RAM

    Hi,
    I am facinga strange issue in oracle on solaris 5.10
    Platform:solaris 5.10
    Database version:11.2.0.1.0
    Our database Instance Using Swap Space even When There is Plenty of Free RAM.
    We have 80GB of physical RAM, 32GB is set to oracle SGA_MAX_SIZE
    memory parameters:
    memory_max_target big integer 32G
    memory_target big integer 32G
    sga_max_size big integer 32G
    sga_target big integer 32G
    but still oracle is taking memory from swap even though we have enough physical memory.
    please find the top output
    load averages: 0.09, 0.18, 0.84 01:07:49
    134 processes: 133 sleeping, 1 on cpu
    CPU states: 99.4% idle, 0.4% user, 0.3% kernel, 0.0% iowait, 0.0% swap
    Memory: 80G real, 69G free, 35G swap in use, 49G swap free
    PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
    1052 oracle 13 59 0 95M 66M sleep 13:16 0.07% oraagent.bin
    10256 oracle 1 59 0 32G 835M sleep 0:00 0.03% oracle
    1227 oracle 15 59 0 78M 56M sleep 4:27 0.02% ocssd.bin
    9524 vector1 112 59 0 1704M 776M sleep 45:04 0.02% java
    988 oracle 38 59 0 119M 92M sleep 3:00 0.02% ohasd.bin
    1297 oracle 1 101 -20 453M 390M sleep 2:47 0.02% oracle
    1765 oracle 1 101 -20 32G 329M sleep 2:45 0.02% oracle
    10258 oracle 1 59 0 32G 345M sleep 0:00 0.02% oracle
    10259 oracle 1 59 0 3400K 2024K cpu/20 0:00 0.01% top
    1777 oracle 1 59 0 32G 342M sleep 1:14 0.01% oracle
    1246 oracle 6 59 0 56M 44M sleep 1:22 0.01% diskmon.bin
    1803 oracle 1 59 0 32G 514M sleep 0:30 0.01% oracle
    1215 oracle 15 59 0 71M 46M sleep 1:12 0.00% cssdagent
    1307 oracle 1 59 0 453M 390M sleep 0:45 0.00% oracle
    1217 oracle 11 59 0 81M 49M sleep 0:35 0.00% orarootagent.bi
    Vmstat output:
    $vmstat 5 5
    kthr memory page disk faults cpu
    r b w swap free re mf pi po fr de sr s3 s3 s3 s3 in sy cs us sy id
    0 0 0 53698448 73900568 20 81 32 6 5 0 1 -0 0 1 -0 2235 1447 1984 1 0 99
    0 0 0 51196160 72037552 1 13 0 0 0 0 0 0 0 0 0 2505 1403 2204 0 0 100
    0 0 0 51193488 72035864 55 380 0 0 0 0 0 0 0 0 0 2487 2143 2203 0 1 99
    0 0 0 51183856 72030176 0 0 0 3 3 0 0 0 0 0 0 2496 1370 2182 0 0 99
    0 0 0 51182648 72029112 22 117 0 0 0 0 0 0 0 0 0 2503 1408 2193 1 0 99
    $cat /etc/release
    Solaris 10 10/09 s10s_u8wos_08a SPARC
    Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 16 September 2009
    I refered the metalink document id: [ID 761960.1]
    Database Instance Using Swap Space When There is Plenty of Free RAM metalink note [ID 761960.1]
    and tried the disabling the sga_max_size and memory_max_target and memory target with all different combination but no use.
    We have one more box where same setup was configured in solaris platform but there the above memory parameters are not disabled but it is not using swap space it takes memry only from physical RAM
    Can any one throw some lights on this issue. It wopuld be great if I come to know where the exact problem
    Thanks in advance
    With Regards,
    Boobathi P

    Hi,
    I didn't say I am not using 11gr2 memory parameters I am using all the automatic memory parameters but the thinks is as per the metalink note I tried by disabling the automatic memory parameters. but that didn't help me in preventing unnecessary swap usage. So I reverted. now it is using automatic memory parameters.
    so What is the solution for this?
    With Regards,
    Boo

  • Java.lang.OutOfMemoryError although enough free memory left

    hi there,
    i am facing a strange problem. i get a java.lang.OutOfMemoryError although my gc monitoring (wily introscope) shows that there is enough free memory left.
    so my question is what can lead to a java.lang.OutOfMemoryError. is it possible that a full generation space can lead to an OutOfMemory? I thought that in this case the garbarge collector would move live objects to the next generation?
    my settings are:
    - JVM 1.4.2
    -XX:NewSize=64m
    -XX:MaxNewSize=64m
    -XX:SurvivorRatio=12
    -Xms=1024m
    -Xmx=1024m

    Maybe you are running out of perm space?
    Try
    -XX:MaxPermSize=256m

  • Observation: SAP uses swap space even when OS has available unused memory

    Hi Folks,
       It is my understanding that any memory not used by the Linux OS itself or the SAP application is available for Linux to use for I/O buffers and file caching.  When the SAP application requires more memory I would expect Linux to take memory away from itself (release I/O buffer and/or file caching memory).
       We have observed that SAP uses swap space even when there is  memory available.  Is there some feature in SAP kernel or some ABAP construct that causes SAP to prefer swap space over available memory?  Or maybe there is a Linux kernel setting that influences SAP's use of swapping.
    Regards,
    Zaz

    Hi Mike
    You did not mention which distribution you have. Under SLES there is is a parameter called SWAPPINESS, which controls the buffering/swapping.
    cat /proc/sys/vm/swappiness
    If you don't already know, you can see the memory usage with the free command.
    root # free -m
                 total       used       free     shared    buffers     cached
    Mem:          7987       7901         85          0        364       4262
    -/+ buffers/cache:       3274       4712
    Swap:        15999          0      15999
    As far as i know, in this example 3274 is memory used by SAP and other processes and 4712 is cache. Please correct me if i am wrong.
    Regards
    Michael
    Edit: a low swappines, for example 10 means to reduce cache first, a high swappiness (example 100) means page out processes first
    Edited by: mho on Jun 20, 2008 11:21 AM

  • Dax Calculate column even when there is no record at a date

    We are creating a powerpivot model based on a table with data about worktasks of our employees.
    This is simplified our input:
    Tasknr date started dateended
    1 20140101 20140201 (yyyymmdd)
    2 20140102 20140103
    3 20140104 20140108
    Etc
    We created two measures to calculate how many tasks are opened and closed per day. That was no problem, but now the tricky part. We also want to know each day how many tasks are
    still open, even on days that no tasks are opened (or closed).
    My approach was to create a calculated column to determine how many tasks are opened up to that date and subtracted the closed tasks and end up with the tasks that are open. That
    seems to be working :
    =COUNTROWS(FILTER(Tasks; Tasks[Open]<=EARLIER(Tasks[Open]))) - COUNTROWS(FILTER(Tasks; Tasks[Close]<=EARLIER(Tasks[Open])))
    When I load this to the excel pivot I end up with this:
    Row Labels| Opened | Closed | Open not finished
    1/1/2014
            1         
    0          1
    1/2/2014        
    1          0         
    2
    1/3/2014
            0         
    1         0
    1/4/2014
            1         
    0         2
    The line with 1/3/2014 should have 1 in the column [opened not finished], but because that calculation is linked to the opendate column, not to the closed and 3/1/2014 no task
    was opened, there is no value. On days that no tasks are opened or closed there even is no line at all although there could be tasks that are still open.
    I need a mechanism that calculates the value even when there are no records
    on a particular day. Our users want to be able to view the results on any date they select.
    I have considered a second table with all the dates and calculate columns from the task-table but are there other ways to do this? I searched this forum but did not find an answer
    so far.

    Hi Jacob,
    In our company we have a standard date table that is included in all of our models. What I didn't want to do in this case was to extend that table with calculated fields to solve this issue. Alternative was to create a new date table with the calculated
    fields I needed. But I don't like that also so what I did was rewrite the sql that loaded the data into the pivot so that the measures were calculated at the load. But I am also not happy with that solution because of maintanance and performance reasons. My
    feeling is that there must be a way to solve this with only dax in the loaded table.
    Jacob's answer does exactly what you want. The DAX expression in his response is a measure which you could put in your Tasks table. You don't need to alter your date dimension in any way.
    The key to this technique is that the date table cannot have an active relationship to your Tasks table. (although you could have an inactive relationship and then you could use the USERELATIONSHIP function to make other measures easier to calculate)
    Translating Jocob's measure into something against a 'Tasks' table would looks like the following:
    =
    CALCULATE (
    COUNTROWS ( Tasks ),
    FILTER (
    Tasks,
    Tasks[Open] <= MAX ( Calendar[Date] )
    && Tasks[Closed] >= MAX ( Calendar[Date] )
    http://darren.gosbell.com - please mark correct answers

  • GRC 5.3: CUP asks to perform risk analysis even when there are no risks in request

    Hi All,
    We recently upgraded from GRC 5.3 SP13 to SP22.
    The one issue which we are facing after upgrade is that now CUP is forcing approvers to do Risk Analysis, even when there are no risks in the CUP Request, that is Risk Tab is Green.
    Previously approvers were able to approve requests without doing risk analysis, if there were no risks in the request.
    CUP used to force them to do risk analysis only when there were risks associated with requests.
    But now, it is forcing approvers to perform risk analysis, even if there are no risks, i.e. approvers are not able to approve requests without any risks without doing risk analysis.
    Please advise.
    Thanks
    Aditi

    Hi,
    Can you check if any change is made in Configuration -> Workflow -> Stage -> Approvers
    Regards,
    Claudio

  • PRI channel busy issue , even when there are no active calls

    Hi All ,
    i using VWIC-2MFT - E1 CARD with VG. one PRI is working fine but on another PRI we are facing busy channel problem , even when there is no active calls , actually channels are not being free after disconnecting call. when we restart the gateway its startworking for some time ...
    i already replaced that card .
    please advice

    I believe that this post should be made to the Unified Communications and Video forum.
    Would please you repost to that group.
    Thanks

  • USB not recognized - even when there's no USB device at all (Windows 7, Pavilion dv7)

    Since a few days now I get the message
    'The USB-device was not recognized: One of the USB-devices connected to this computer does not work correclty. The device has not been recognized'.
    It keeps popping up from my right corner below, every 5 seconds if I don't click it. When I click the message, I get a list of USB devices (ports) there are available. There's one 'Unknown device'. Maybe it has something to do with the finger scan (biometric)? This hasn't been working very good lately..
    Even when there's no single USB device installed (normally I have a mouse and a Targus laptop chill mat installed as USB devices), it keeps popping up. I tried deleting the USB port from the list (or uninstall it) in Device control, but it seems it keeps happening.
    I suddenly got it, I did nothing specific of did not connect any strange devices (except for a projector on the external monitor exit, but that has nothing to do with USB). I also hear the sound for connecting and disconnecting USB devics randomly when I'm on my laptop.
    Anyone has any idea?
    Thanks
    HP Pavilion dv7 Notebook PC
    LE902EA#UUG
    Windows 7 64 bit
    This question was solved.
    View Solution.

    The solution can be found here

  • Constant notifications even when there's nothing to be notified of. Galaxy S5.

    Ever since I updated my Samsung Galaxy s5 yesterday I have been getting constant message tones even when there's nothing to be notified of. I have restarted my phone more than enough times to know its not that causing issues.

        josh366,
    This definitely seems strange that you are receiving these notifications without having any type of texts, or emails, or any other types of notifications. Since the software upgrade, have you downloaded any new apps? Let's also try to power the device off, remove the SIM card and wait for about 30-60 seconds and then put the SIM back in and power back on. Keep us posted!
    ErinW_VZW
    Follow us on Twitter @VZWSupport

  • Quota dedcuting even when there is no quota

    i got this problem,
    I have a absence type A whose quota is deducting from absence type B. but even when there is no quota ,the system is deducting the quota from someother absence type i.e. C
    Kindly help.....

    thks all...........its solved .in dedcution i jus need to chose "no further assignment"
    Please Close the thread if you issue  is solved
    Edited by: Sikindar on Feb 2, 2010 11:55 AM

  • Cd icon shows even when there is no cd present. I tried ejecting it and inserting another cd and the cd gets ejected. what is the solution to this

    icon shows even when there is no cd present. I tried ejecting it and inserting another cd and the cd gets ejected. what is the solution to this

    Jailbreaking iOS can't be discussed in this forum.

  • There is not enough free memory to load the entire file

    I saw an older reference to this error in a previous post which apparently got resolved, but didn't explain precisely how it got resolved:
    Michael Kitzmiller, "There is not enough free memory to load the entire file" #, 27 Jul 2007 5:23 am
    I presume that one answer is to rebuild the document from scratch, changing imported images to referenced images. But I want to recover the file as I put hours of work into it and expected that anything I can save that I also should be able to read back in. I will certainly change to referenced images, but I have to be able to open it first.
    thank you

    Web...
    Here is a smattering of ideas.
    Do you have ample unused HDD space? If not, defrag it, although in myu experience, this hardly makes a difference. Check your TEMP/TMP folders and clean them out. Consider downloading cCleaner and running it. Do everything you can to make ample room on your HDD and in places like your TEMP folders. If your HDD is congested, temporarily remove big but relatively unimportant applications and move data elsewhere for a while.
    Even with 4GB of RAM, Frame can only use somewhere between 2.7 - 3.2 GB of it under the very best of conditions, and that includes the application as well as the files. Unpacking image files can consume considerably more space than it takes to store them. For example, a 1024 x 768 color image requires more than 3.1MB to describe it as a 32-bit color image, yet when stored in JPEG format, it can be as small as 50kB, a compression of 65:1. Of course, it's not reasonable to assume that your document is comprised entirely of such highly-compressed images, but in the unachievable extreme, it would take 980MB to simultaneously open 15MB worth of those kind of files. The point here is to not fall into the trap of thinking a 15MB file comprising a lot of images needs little more than 15MB of RAM.
    Make sure ALL other applications are closed when trying to open your file...Outlook, IE or FireFox, Anti-Virus and Spyware apps, Word, etc.
    Consider sending a copy of the file to someone else to see if they can open it for you and delete some of the images before resaving it. If you have a backup copy, rename your current file and restore the backup. Maybe your working copy is corrupt. Who knows? Anything is probably worth trying as long as you have a save copy stored somewhere.
    Dennis...

Maybe you are looking for

  • How to Connect the Apogee Duet with Digitech Vocalizer 3

    I have been trying to figure out how to interface my guitar and microphone with the Apogee Duet 2 using the Digitech Vocalizer 3 (voice correction). I would like someone from Apple to verify what I have found, but this is how I finally got it to work

  • Error message while installing QT for Windows 7.1.3

    While installing Quicktime I get the message: Error reading from file: C:\Program Files\Quicktime\QTSystem\QTJava.zip. Verify the file exists and that you can access it. Abort Retry Ignore I checked the directory and the file is there. Clicking Retry

  • Mac Pro Lion 10.7.5 will not receive bluetooth file from Macbook Leopard 10.5.8

    Since late 2008, I have been running a 2.2GHz / 3,1 / 4GB MacBook, now at 10.5.8. A few days ago I bought a 2.66 GHz / 1,1 / 6GB Mac Pro, now at 10.7.5. I can not seem to get the Lion Mac Pro to successfully receive a 3.3mb file sent, via BLUETOOTH,

  • Loss of photos due to Yosemite download

    I downloaded Yosemite on my 3 year old Mac Book Pro. Now I can't access my photos. Anyone have suggestions? Do I need to uninstall Yosemite? Thanks, Pat

  • How can I show the chart in forms?

    Dear all: I want to create a line chart. I use the chart wizard and it is successful to create the chart. But, it can't show the chart when I run the form. How can I show the chart in form6i? Besides, I see a document that refer to 'OG.pll'. I can't