Memory keep increasing

i'm using windows 2k to run my application.
i can monitor the usage of memory. what i found from my application is the memory keep increase every time i execute i function.
and util 1 time the memory maximum usage and my java application 'hang'.
and need to restart. only the meory release and refresh and will goes the same.
is there anybody out there can help me here. pls help i'm in critical situation. my company is scolding me.
tank you very much.

java -verbose:gc
Will help to keep track of your gc's, by calling themself, I assume tim ment recursive, are you using a recursive methid, that is:
void recursive() { recursive() };(bad example I know, but I'm lazy), this would eat memory.

Similar Messages

  • Why is Uncategorized Used Memory keeps increasing???

    Hello, I'm making an Android game with Flash pro cc. And now I'm testing performance using the Scout. So I ran my game with Flash Pro cc's Control - Test Movie - Air Debug Launcher. And I played about 5 levels of my game, but the number of "Uncategorized" under Used Memory keeps increasing. Others such as Action Script Objects, Bitmap, ByteArrays under Used Memory decreases over time which I think it means it's garbage collecting. Is it normal to have Uncategorized keep increasing??? If no, how can I fix it so that it decreases??

    http://www.adobe.com/devnet/scout/articles/scout-memory-profiling.html
    From the link:
    Uncategorized – other memory that Flash Player is using, but doesn't yet track. This includes sound and video buffers, XML data, and memory used by Stage3D, as well as numerous small data structures that are used internally by Flash Player. We plan to add additional categories in future versions of Scout.
    In my experience, it's inconsistent and can at times consume a lot, while other times not so much. It's a nuiscance category for sure. Don't count on being able to reduce it will a silver bullet.

  • Memory Manager - Connection Memory keeps increasing

    I have a SQL Server 2008 R2 SP2 STD with SQL and SSAS
    running on 16 GB memory and Win 2008 R2 64 BIT, at the beginning, the Memory
    Manager -> Database Memory takes most of the SQL used memory, but the Memory
    Manager -> Connection Memory counter keeps increasing until it consumes
    almost all memory after about a week. I have to restart SQL server to release
    the memory used by Connection Memory.
    Is there a way to release the
    Connection Memory? Or how to know which connections are using all the
    memory?
    Thanks in advance.

    Hi,
    You can use sys.dm_exec_sessions view to check the connection and current requests of the program and login name.
    For more information:
    sys.dm_exec_sessions (Transact-SQL)
    http://msdn.microsoft.com/en-us/library/ms176013.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Centos RES memory keep increasing and crossed initial and maximum memory fo

    We have a java application running on Centos 6.4 what we notice is that the RES is around 378m which is more then the allocated max that is 256m. Does this signify that we the application is leaking? So far there is no GC happening yet but many YGC? What does this indicate?

    We have a Java application running on Centos 6.4 what we notice is that the RES is around 378M which is more than the allocated max that is 256M. Does this signify that the application is leaking? So far there is no GC happening yet but many YGC? What does this indicate?I don't do Java, but you do have two separate allocations to control: the heap, and the stack. Most JVM have command line parameters to control these.
    Leaking? Have your application developers become familiar with ValGrind; it's a good tool for finding leaks.

  • Space under $ORACLE_BASE/$ORACLE_HOME keeps increasing why

    I am on Oracle 10.2.0.4 on HP UNIX 11.2. I am running a program which has an infinite loop. Each loop iteration sleeps for 15 seconds, does some datbase access using jdbc…? I am noticing that space under $ORCALE_BASE keeps increasing. My program is definitely not writing any files under $ORACLE_BASE, so Oracle is creating some files, else how can I explain increase in $ORACLE_BASE. When I stop the program, space shrinks back to original, so looks like file has been deleted.
    My program could have some cursors not being closed, but this will increase the memory of Oracle shadow process and not space under $ORACLE_BASE. Are there any memory mapped files, where shared memory is being mapped to some file under $ORACLE_BASE. I am unable to find any such files using:
    Find . –mtime -1
    I see some Oracle files such as Oracle agent log, listener.log but do not see anything unusual. Can someone explain what is going on and how can I troubleshoot this problem.

    It is a java [program, it does various selects, inserts, updates; it writes its execution log under /gps/twq/db3 and
    ORACLE_BASE is /gpsg/twq/oracle
    bdf shows...
    /dev/vg03/lvtwqstage
                       8192000 6088123 1972403   76% /gpsg/twq/stage
    /dev/vg03/lvtwqoracle
                       12288000 8418465 3637466   70% /gpsg/twq/oracle
    /dev/vg03/lvtwqdb1 8192000 4752239 3225929   60% /gpsg/twq/db1
    /dev/vg03/lvtwqdb4 8192000 5435984 2583829   68% /gpsg/twq/db4
    /dev/vg03/lvtwqexpbkup
                       72466432 22210280 47115159   32% /gpsg/twq/expbkup
    /dev/vg04/lvtwqdb2 66322432 26020448 37783114   41% /gpsg/twq/db2
    /dev/vg04/lvtwqdb3 66322432 26936468 36924350   42% /gpsg/twq/db3
    /dev/vg06/sq_db1   65536000 50530190 14067949   78% /gpsg/getsq/db1
    It is /gpsg/twq/oracle which keeps increasing until program is recycled, then frees up space under /gpsg/twq/oracle..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • RAM utilization keeps increasing over time

    Environment: SharePoint Server 2010 on a stand-alone server, total RAM: 24GB
    I noticed that on our server the RAM utilization keeps going up until it gets to about 94-97% at which point everything become extremely slow or completely non-responsive.  we reboot the server, the RAM utilization goes down to about 28% but then starts
    increasing again.  I used Resource Monitor and looked at the memory section.  From the processes listed there it looks like the sqlserver.exe process's private memory usage keeps increasing proportionally to the whole RAM utilization while the other
    processes seem to be relatively constant.  Here is a sample data:
    August 1st: 44% used physical memory, SQL Server private memory:4.2GB
    August 5th: 63% used physical memory, SQL Server private memory:8.6GB
    August 9th: 74% used physical memory, SQL Server private memory:12.1GB
    August 12th: 78% used physical memory, SQL Server private memory:13.7GB
    Could you please suggest any tools or techniques that would help us determine what is causing this increase in RAM utilization?
    thanks,

    For single instance SQL 2008 R2 or higher installations where no other applications (like SharePoint) are running, it is not necessary to set MAXMEM.
    Trevor Seward, MCC
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Why handle count keeps increasing with active database connection?

    Hi,
    I have an application in which windows handle count keeps increasing..I did not find any reason why this is happening? could you please help me out? below is the code:
    I have also tried to close the database connection but not work.
    using System;
    using System.IO;
    using System.Data.Common;
    using System.Windows.Forms;
    using System.Threading;
    using System.Configuration;
    using System.Data;
    using System.Data.SqlClient;
    namespace SampleAppWithDbConnection
        class Program
            private static SqlConnection _oCon = null;
            public static SqlConnection oCon
                get
                    if (_oCon == null)
                        _oCon = new SqlConnection();
                    return _oCon;
                set
                    _oCon = value;
            public static int gIntervalo = 1000;
            [STAThread]
            public static void Main(string[] args)
                var gStrCon = ConfigurationManager.ConnectionStrings["Sql-ConnString-Token"].ToString();
                fConectaBase(oCon, gStrCon);
                fProcessa();
            private static void fProcessa()
                try
                    do
                        Thread.Sleep(gIntervalo);
                    while (true);
                catch (Exception)
            internal static bool fConectaBase(SqlConnection pCon, string pConnectionString = "")
                if (pCon.State != ConnectionState.Closed)
                    pCon.Close();
                pCon.ConnectionString = (pConnectionString == "") ? pCon.ConnectionString : pConnectionString;
                pCon.Open();
                return true;

    Hello Pramod,
    >>I have an application in which windows handle count keeps increasing
    If the windows handle(I assume you mean the object handles in Taks Manager bar) keeps increasing, it should means that the project keeps allocating new objects and does not close/dispose them. I notice that you are using ADO.NET API, I am wondering how you
    manage these connections, do you close/dispose the connection immediately after using them? If not, please do it and it is recommended.
    Please check if you call method to close/dispose connections in a finalize method, if so, this is not recommended since in a finalize method, these connections object would still keep alive and does not return to the connection pool, and for new connection
    request, application might increase more connection number to meet the request.
    You could make a test to call GC.Collect() to test if there is a memory leak, if it has, you could check this
    article, or it could be also a handle leak, this
    blog might be helpful for it.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • U: drive keeps increasing, and decreasing?

    So basically my U: drive keeps increasing and decreasing.. I check it every day, and it says 16.2X (where x is a random number). Usually it is in the 16.2x range... For example: 16.27, 16.29, 16.23 ..etc...  And I check my U: drive everyday.. I understand, that is not a problem, and its normal.
    But, today I checked my U:drive, and I was SHOCKED, because now it says 16.5x.. Right now its at 16.52, and I have NOT INSTALLED ANY PROGRAMS.
    Where in the world did 300mb of memory come from? Is it because I have been watching a lot of youtube videos?? I dont see how that would take up so much space..
    How do I get back to normal which is 16.2x...?

    Having the same problem every few seconds it adds a minute to the estimated time. This is really annoying. I'll call apple to figure something out because I need to backup to to icloud since I have a battery issue with my phone!

  • Ihave 51 iphoto library and they keep increasing and i do not know why

    My iphoto has 51 libraries and they keep increasing and i do not know why, i would like only one iphoto library and consolidate all photos in that.

    If you're using an IMAP account, also check your other devices to be sure you don't have some filters or rules set up that either delete or move emails to subfolders. You can see all Emails on your iPad, but displaying the sidebar showing Mailboxes, tapping the email account you are having trouble with (NOT the Inbox, but the section below), then tapping All Mail or something similar depending on your provider.
    If the mails are there, they are somehow being moved by one of your mail clients or by a rule you set up with your provider.

  • Problems with system restore points in Win 8.1 (keep increasing in size)

    Hi,
    I was sent here by Microsoft Support who seem to have no idea of the mechanics of System Restore and what could interfere with it. I've no idea where to post this, so I hope you can help in that.
    I have the problem that my System Restore point (only a single point) keeps increasing rapidly in size from a few Mb to many Gb and even fills the C drive if I don't stop it. Setting a limit to the size doesn't help (in System Restore or VSS), as it ignores
    it and increases the limit. I have tried all the usual (sfc, DISM, chkdsk, several antivirus and malware programs) with no success.
    Obviously, I can turn off System Restore, but that isn't really something I want to do.

    When you say "system backup", do you mean generation of system restore points or an actual backup? i don't use MSBackup.
    Hi,
    What I meant system backup is system backup feature that it would create restore point when you enable system backup automatically.
    I made a test in our testing enviroment. limit restore point disk space usage to minize, create some restore point. When I create a seconde restore point, it would replace the former time point. The maxize disk space usage won't more than the limiation.
    Therefore, please check the size of Restore Point in C:\System Volume Information if it's larger than system limiation.
    Roger Lu
    TechNet Community Support

  • I have a 5th Gen iPod Touch. I went in my messages to save a video in my camera roll. The video is not in my camera roll but my memory keeps on going down and I don not want to restore my iPod. Please help me

    I have a 5th Gen iPod Touch. I went in iMessage to save videos that were sent to me in my camera roll. The videos do not appear in my camera roll but my memory keeps on going down. I do not know how to solve the problem. I do not want to restore my iPod but I want to get my memory back. Please Help ME

    Connect the iPod to your computer and look at the storage used by the various categories as shown in the colored bargarph in iTunes.
    Come back with the results.
    An "other" larger tha about 1 1/2 usually indicates that the "other" includes corrupted files.
    First try:
    "First you go settings/general/usage/music/then left swipe over music and press delete and you would think it deletes your music but it doesn't instead it deletes your other but make sure your ipod is connected to a computer while doing this"
    as recommended by:
    How do I get rid of "other" storage: Apple Support Communities
    Next, usually restoring from backup eliminated the corrupted files. However, sometimes restoring to factory settings/new iPod is required.
    To restore from backup see:
    iOS: How to back up
    To restore to factory settings/new iPod see:
    iTunes: Restoring iOS software

  • Sql memory usage increase each time win app runs

    Hi,
    Sql memory usage increases each time when win app runs. Why does it work like this? Is it normal ?
    I restart SQL Server 2012. Only my win app uses SQL server.
    First run of winapp.
    start memory usage : 211.800 KB
    close memory usage: 528.136 KB
    Second run of xaf app.
    start memory usage : 528.136 KB
    close memory usage: 996.844 KB
    Third run of xaf app
    start memory usage : 996.844 KB
    close memory usage: 997.640 KB
    Fourth run of xaf app
    start memory usage : 997.640 KB
    close memory usage: 1.104.864 KB

    Hi,
    Sql memory usage increases each time when win app runs. Why does it work like this? Is it normal ?
    Yes, it is perfectly normal for SQL Server to acquire and hold onto large amounts of memory indefinitely.  This memory improves performance by avoiding disk I/O, query plan compilation and costly memory management. 
    On a dedicated SQL Server you should usually let SQL Server dynamically manage memory.  It will release memory if it detects memory pressure.  But if you often run other applications on the server than need significant amounts of memory (e.g. IIS,
    application services), you may want to set max server memory as suggested.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Solaris process memory usage increase but not forever

    On Solaris 10 I have a multithreaded process with a strange behaviour. It manages complicated C++ structures (RWTVal or RWPtr). These structures are built from data stored in a database (using Pro*C). Each hour the process looks for new informacion in database, builds new structures on memory and it frees older data. But, each time it repeats this procedure, the process memory usage increases several MB (12/16MB). Process's memory usage starts from 100M until near 1,4G. Just to this point, it seems the process has memory leaks. But the strange behaviour is that after this point, the process stops to continue growing up anymore. When I try to look for memory leaks (using Purify tool) the process doesn't grow up and no significant leaks were showed. Did anyone found a similar behaviour or can explain what could be happening?

    markza wrote:
    Hi, thanks for responding
    Ja, i guess thats possible, but to do it all one row by row seems ridiculous, and it'll be so time consuming and sluggish surely.  I mean, for a months worth of data (which is realistic) thats 44640 individual queries.  If push comes to shove, then I'll have to try that for sure.  
    You can see by the example that I'm saving it to a text file, in csv format.  So it needs to be a string array, a cluster won't be of much help I dont think.
    The only other way I can think of is to break it up into more manageable chunks...maybe pull each column separately in a for loop and build up a 2D array like that until the spreadsheet storing.  
    You only do 1 query, but instead of Fetching All (as the Select does) you'll use the cursor to step through the data.
    You can use Format to String or Write Spreadsheet fire with doubles.
    You can break it down to get the data day by day instead of a full month at once.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • I'm using ios5 in iphone4, but the 'other' capacity in itunes is keeping increasing every time after sync iphone4 from PC

    I'm using ios5 in iphone4, but the 'other' capacity in itunes is keeping increasing every time after sync the iphone4 from PC, now the 'orther' usage is 0.64G.

    You are of course deleting the tunes from within the iTunes interface.
    The settings that I am referring to are your device settings for the iPad. It should show in the left column of iTunes when your iPad is plugged in.
    Go through your playlists and make sure that the tunes(s) are removed from any playlist. You can prevent the sync as noted above then do a sync and the iPad should update with the content from you Mac.
    MJ

  • My ipad shows capacity 13.6GB, available 0 bytes. Can I clear some items from the memory to increase the avaavailable memory?

    my ipad shows capacity 13.6 GB, available 0 bytes. Can I clear some items from the memory to increase the available memory?
    Getting message "storage almost full"

    One usually large user of storage space is photos and videos. You could import them to a computer and then delete them from the iPad: Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support
    You can also go to Settings > General > Usage and click on "Manage Storage" (in the Storage section, not the iCloud section) and that will show what is using the storage and may help you decide if you want to delete some apps or something else.

Maybe you are looking for

  • Large Mail.que database in Exchange 2013

    [Background] Since Exchange 2013 is released, some user may come across the following situations: The space of disk C is used up. The transport service stops processing messages. The Mailbox server is crash. In this case, the issue can be resolved wi

  • Error: "File is Open and in Use by Another Application...."

    I'm trying to print to tape using the 'Print to Video' option in the 'File' menu. The media being printed is in HDV format. During the 'conforming HDV Video...' process that runs prior to recording to tape, I'm getting the error message mentioned in

  • Serial no. in plant maintennace

    Hi PM Guru, is it possible to use serial no concept in Plant maintenance. if yes kindly tell the steps. regards, santosh jaiswal

  • Patch 9.0.2.39.02 - Where can I get it?

    According to the discussion forums, I need to upgrade to Discoverer 9.0.2.53 PatchSet. I found this patchset on Metalink. However, The Readme notes for this says that this goes on top of Discoverer 9.0.2.39.02. I am on (Oracle 9iDS) Discoverer 9.0.2.

  • Accessing Dynamic Prompts information via CR 2008 (or earlier?) RAS API?

    I am using the CR 2008 RAS API (but could also use an older API if needed) in Visual Studio 2008. I have both service packs installed. Any idea how to access information about the settings for dynamic prompts in a report? I can access the PromptField