Tomcat fills up memory till crash

I have a big problem i am trying to do a web applikation for many users, but Tomcat eats more and more ressources with every call of a jsp. I create instances of different classes in jsp files like the example below, could the way i do this be the reason for that memory consumption?
Construct lowRess = new Construct();
GetMainWindowInfo gmw = new GetMainWindowInfo(userId,planetId);
ConstructionUtilities cons = new ConstructionUtilities();If yes ... what can i do to stop this memory leaks?!

Update:
I am trying currently to track the memory waste ... i found out that the GC recovers much memory after this line:
[Full GC [Tenured[Unloading class sun.reflect.GeneratedMethodAccessor1]
What does this mean??

Similar Messages

  • Is there a way to fix the Remote Desktop Connection Manager memory usage crashes?

    I'm using RDCMan and it has been using a lot of memory and crashing.  With 12 connections it uses 1,548,976 K of memory and crashes with an "Unhandled exception" "Not enough storage is available to process this command. (Exception from
    HRESULT: 0x80070008)."  I love this program and want to know if there's a way to fix this on my end.  It seems like other people are not having this issue.  I'm running a fresh install of Win7 Ent.  I have .NET 3.51 and 4 installed.
     Do I need to installed .NET 2.0?
    Here is the info from the crash:
    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.Runtime.InteropServices.COMException (0x80070008): Not enough storage is available to process this command. (Exception from HRESULT: 0x80070008)
       at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
       at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
       at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
       at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
       at System.Windows.Forms.AxHost.CreateInstance()
       at System.Windows.Forms.AxHost.GetOcxCreate()
       at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
       at System.Windows.Forms.AxHost.CreateHandle()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.AxHost.EndInit()
       at RDCMan.RdpClient7..ctor(RdpClient parent, MainForm form)
       at RDCMan.RdpClient..ctor(MainForm form)
       at RDCMan.RdpClient.AllocClient(Server server, MainForm form)
       at RDCMan.Server.InitClient()
       at RDCMan.Server.ConnectAs(ILogonCredentials logonCredentials)
       at RDCMan.Server.Connect()
       at RDCMan.ServerTree.OnDoubleClick(EventArgs e)
       at System.Windows.Forms.TreeView.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    RDCMan
        Assembly Version: 2.2.2.426
        Win32 Version: 2.2.2.426
        CodeBase: file:///C:/Program%20Files%20(x86)/Remote%20Desktop%20Connection%20Manager/RDCMan.exe
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Deployment
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
    AxMSTSCLib
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Remote%20Desktop%20Connection%20Manager/AxMSTSCLib.DLL
    MSTSCLib
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Remote%20Desktop%20Connection%20Manager/MSTSCLib.DLL
    afvxqrqi
        Assembly Version: 2.0.0.0
        Win32 Version: 
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    I am experiencing the same sort of problem with RDCman after my laptop installed Windows updates last weekend so it is probably caused by a recent .net framework update, not sure which one it is yet, has to be one of last weeks updates for sure.
    See below for the detail log:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at RDCMan.RdcSettingsProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection values)
       at System.Configuration.SettingsBase.SaveCore()
       at System.Configuration.SettingsBase.Save()
       at System.Configuration.ApplicationSettingsBase.Save()
       at RDCMan.Preferences.Save()
       at RDCMan.MainForm.AutoSaveTimerTickHandler(Object sender, EventArgs e)
       at System.Windows.Forms.Timer.OnTick(EventArgs e)
       at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    RDCMan
        Assembly Version: 2.2.2.426
        Win32 Version: 2.2.2.426
        CodeBase: file:///C:/Program%20Files/Remote%20Desktop%20Connection%20Manager/RDCMan.exe
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Deployment
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
    AxMSTSCLib
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files/Remote%20Desktop%20Connection%20Manager/AxMSTSCLib.DLL
    MSTSCLib
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files/Remote%20Desktop%20Connection%20Manager/MSTSCLib.DLL
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

  • Acrobat 11.0.07 crashes when i attemp to fill in forms. when i click on a form field to fill it in, it crashes to desktop.

    As the title states, when using Acrobat 11.0.07 it crashes when i attempt to fill in forms. when i click on a form field to fill it in, it crashes to desktop.

    I am having the same problem... It just started. Can anyone help with this issue??

  • Exporting ReportDocument fills up memory, then throws "The system cannot find the file specified"

    Hi,
    When exporting a perfectly viable ReportDocument to pdf like this:
    Dim ms As IO.MemoryStream = New System.IO.MemoryStream
    ms = rpt.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat)
    (rpt being the ReportDocument), the process starts to fill up memory at a couple of megabytes per second rate, and eventually throws Exception:
    "The system cannot find the path specified."
    stacktrace:
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType)
       at {the ExportToStream invocation in my own code}
    The same thing happens when I invoke the regular Export() method with any DiskFileName.
    My environment is VS 2012 (premium) and I'm using CRforVS_13_0_13 (32-bit version). The programming language is VB.NET.
    A similar problem seems to be discussed here: CR2008 - "The system cannot find the path specified", but the difference is there's no errors in my formula's. The report gets displayed and printed out fine. It's just the exporting that does not work. Any ideas about how to fix this?
    Thanks,
    Stefan

    See Don Williams response here:  http://scn.sap.com/thread/3713889
    You cannot export using MemoryStream - you have to use IOStream.
    -Dell

  • Camera fill not working correctly crashes app

    I've tried using the camera fill feature on both the iPhone 5 and 5S. In both cases the app crashes when trying to camera fill. It is working just fine on the iPad. Hopefully this will be corrected soon.

    ibarrien wrote:
    Hi,
    What do you mean exactly by "except it does keep whatever was taken with the camera"?
    Does this mean that you can use the image if you do "Select all" and then take the picture?
    Thanks,
    Ignacio
    Actually, yes, that works. And, yes, it's just with PS Touch so far.
    gruele wrote:
    Hi. Do you have the same problem when you open up the Android Camera app and switch to video mode?
    I can import pictures using the Android Camera app within PS Touch when I start or during a project if that's what you meant. If you meant the Camera app by itself, I can switch just fine between modes.
    More things (might as well retitle the thread, "Odd issues with ICS and PS Touch"):
    When I make a selection, the edges of the selection are pretty rough (almost artistic-looking, as if I had put a "torn-edge" look to it). The issue is not reproducable and disappears after I tap "Feather" under the selection options icon and set the feather to zero. After that, selections function as they should.
    Fonts under the "Add Text" command like Trajan Pro have gone AWOL. This happened to me once with PS Touch under Honeycomb but that was resolved by uninstalling and reinstalling PS Touch. Below is a screenshot of the now-limited list of fonts (I keep forgetting ICS can do screen grabs now):

  • Large file copy to iSCSI drive fills all memory until server stalls.

    I am having the file copy issues that people have been having with various versions of Server now for years, as can be read in the forums. I am having this issue on Server 2012 Std., using Hyper-V.
    When a large file is copied to an iSCSI drive, the file is copied into memory first faster than it can be sent over the network. It fills all available GB of memory until the server, which is a VM host, pretty much stalls and also all the VMs stall. This
    continues until the file copy is finished or stopped, then the memory is gradually released as it is taken out of memory as it is sent over the network.
    This issue was happening on send and receive. I change the registry setting for Large Cache to disable it, and now I can receive large files from the iSCSI. They now take an additional 1 GB of memory and it sits there until the file copy is finished.
    I have tried all the NIC and disk settings as can be found in the forums around the internet that people have posted in regard to this issue.
    To describe in a little more detail, when receiving a file from iSCSI, the file copy windows shows a speed of around 60-80 MB / sec, which is wire speed. When sending a file to iSCSI, the file copy window shows a speed of 150 MB/sec, which is actually the
    speed at which it is being written to memory. The NIC counter in Task Mgr shows instead the actual network speed which is about half of that. The difference is the rate at which memory fills until it is full.
    This also happens when using Window Server Backup. It freezes up the VM Host and Guests while the host backup is running because of this issue. It does cause some software issues.
    The problem does not happen inside the Guests. I can transfer files to a different LUN on the same iSCSI, which uses the same NIC as the Host with no issue.
    Does anyone know if the fix has been found for this? All forum posts I have found for this have closed with no definite resolution found.
    Thanks for you help.
    KTSaved

    Hi,
    Sorry if it causes confusion but "by design" I mean "by design it will use memory for copying files via network".
    In Windows 2000/2003, the following keys could help control the memory usage:
    LargSystemCache (0 or 1) HKEY_LOCAL_MACHINE\CurrentControlSet\Control\Session Manager\Memory Management
    Size (1, 2 or 3) in HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameter
    I saw threads mentioned that it will not work in later systems such as Windows 2008 R2.
    For Windows 2008 R2 and Windows 2008, there is a service named Microsoft Windows Dynamic Cache Service which addressed this issue:
    https://www.microsoft.com/en-us/download/details.aspx?id=9258
    However I searched and there is no update version for Windows 2012 and 2012 R2.
    I also noticed that the following command could help control the memory usage. With value = 1, NTFS uses the default amount of paged-pool memory:
    fsutil behavior set memoryusage 1
    You need a reboot after changing the value. 
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • CS3 "Running Low on System Memory" and crashing

    Hi all
       I'm running CS3 on my less than three year old PC with the following specs:
    Intel Core 2 duo E8400 3.00 Ghz 6M 1333
    3 Gigs of memory (DDR2 - two one gig chips, and two half gig chips) (max I can have on 32 bit XP, and well within Adobe's specifications)
    XFX GEForce 9800GTX 512 675M DDR3 Dual Vid Card
    Windows XP Professional 32 bit
    C Drive:  250 GB Barracuda SATA 7200 RPM
    D Drive (where I edit):  500 GB Barracuda 7200.11 SATA
    The C drive is 33% free (40 GB free space)
    The D drive is 40% free (188GB free space)
    The scratch disks are all set for the D drive.
    I actually specified this machine for running CS3 specifically.  In the last few months, however, I have been having instances where it throws this error:  "Adobe Premiere is running low on system memory.  Please save the project and proceed with caution."  I usually save then, and then if I perform a few more steps (like scrubbing through video, or moving a clip), it either freezes, or throws an error that it has met with a critical error and is going to shut down.
    I don't understand why it has started to do this.  The files I am using are not any larger than those I've used in the past.  Some were shot with an SLR, but their file size and frame size are not and different than things I have sucessfully edited in the past.
    I have had the machine to the shop, and they checked all the hardware, defragged the disks, validated that the memory is working, and that the vid card is working correctly.  The also updated the bios and made sure that Windows was up to date.
    Right now, my workflow goes something like:  Open Premiere, edit for about six steps.  Get the warning.  Save.  Go another couple of steps.  Program crashes.  Open again, do about six more steps.... around and around.
    Can anyone help?
    LTK

    I'm using cs3, xp, pretty much same setup you have but bigger Hard drives and more room on mine...constantly defrag after doing a project etc...keep it fast as I can....  I added memory to my mobo to make 4 gig...just to eek out as much as I could out of the ram...xp doesnt see it all, but I did notice a improvement with adding the ram...
    also, when I added the ram it was apparent that of the slowest memory of your ram chips is what all the ram defaults to...so if you have slow 512K chips but fast 1gig chips, all your ram will operate at the slower speed.
    when I get a mssg ( only trying to edit HD , as I never have probs with SD footage at all ) --sys mem low, I save , shut off computer and restart and reopen the program.... start from scratch more or less....so all my resources are free ( for example, if I use photoshop or something else while editing there may be memory leaks with some of that ....where not all the mem is freed up for editing... to solve that as a potential cause I save, reboot and begin again....)
    after a LOT OF TESTING ( and I mean a lot ! ) I have discovered I CANNOT EDIT HD MATERIAL WITH THIS MACHINE...PERIOD.
    It is not powerful enough... and believe me, I tried, both 1080p and 720p ...  after about 2-3 min of video on timeline at 720p at 24fps, this machine is gasping like a flounder out of water.
    good luck
    ( bottom line ----upgrade to 64bit OS and pile on the fastest ram you can stuff onto your new mobo and get at least one more HD ( at least 1T for your project ) look at the suggestions here for raid arrays etc ) and keep them 1/4 full only if possible...  the more full, the more time the heads are moving... more lost time...
    mine

  • Google Earth low on memory and crashing

    I'm using an ipad Air with maximum storage and latest iOS. Google Earth, previously a reliable app, is now consistently reporting low in memory and quickly crashing when in Stree View.
    I've tried rebooting with no change.
    Groan. I see Safari is still not working properly when composing messages here. Seems worse than last iOS version. Autocorrect not reliable and my KB shortcuts no longer work, e.g. To enter my Sig. And those misplaced caps...
    TErry, UK

    (A) Try reset iPad
    Hold the Sleep/Wake and Home button down together until you see the Apple Logo.
    Note: Data will not be affected.
    (B) Close all apps in the multi-task window
    1.Double-click the Home button.
    2. Swipe the app's preview up to close it.
    3. Preview will fly off the screen.

  • Only half of iPod Shuffle memory fills up -- Memory Failure?

    When syncing with iTunes, I'm able to load 485 MB worth of songs ("Enable Disk Use" item is OFF, so all memory should be available for music).
    iTunes and the Finder both indicate that the iPod has a capacity of 967MB. Why can I only fill half of it in iTunes? Could one (of two or more) memory bank(s) failed?
    I've tried all the usual troubleshooting techniques - resetting iPod, checking for updates, restarting Mac, etc. Has anyone else had this problem?
    Thanks.
    -- DaveR

    I'm having a similar problem, except mine will increase the number files everytime I press autofill. The first time I synced the Shuffle, it loaded 750MB, then 820MB, then 940MB. Now it won't let sync anymore. I have it converting everything to a bitrate of 128, so I know there's sufficient space.
    It only seems to have done this, since I upgraded to iTunes 7.5

  • Major memory problem/crash with UIImage

    Hi,
    Our app needs to render the screen to an UIImage and everytime we do that, the memory utilization of app goes up by about 0.3M [as shown by XCode execution panel, but the Instruments panel shows 3M - see below] eventually causing memory warning and crashing.
    The code used is simple - from the example code of Apple:
        UIGraphicsBeginImageContext(self.view.bounds.size);
        [self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
        UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
        UIGraphicsEndImageContext();
    I've tried many ways to reclaim this memory, but there is unbounded growth.
    We've checked it many times and there are no leaks, etc.
    It is not allocated using imageNamed so I understand it is not cached - regardless we even called  [super didReceiveMemoryWarning] to try to flush the cache, but no luck.
    In XCode instruments, the allocations show huge nearly 3MB  growth  as below:
    Event Type
    ∆ RefCt
    RefCt
    Timestamp
    Responsible Library
    Responsible Caller
    0
    VM Alloc
    02:08.145.871
    CoreGraphics
    CGDataProviderCreateWithCopyOfData
    The LiveBytes increases by 3MB everytime the UIImage is allocated and RELEASED by the app.
    Graph
    Category
    Live Bytes
    # Living
    # Transient
    Overall Bytes
    # Overall
    Bytes Allocated (Net / Overall)
    1
    All Heap & Anonymous VM
    12.16 MB
    11263
    3422178
    597.30 MB
    3433441
    <XRRatioObject: 0x7fbca501d950>  %0.02, %0.98
    WHY is this NOT RELEASED by iOS? Can someone help - our app is crashing and rendering the screen to an image is a core part of the functionality.
    Thanks,
    RFS

    I am having the same problem, it is leaking all the memory. It works fine on iOS 6, but it is causing me Memory Warnings on iOS 7.
    This is my code
    CGImageRef imageRef = image.CGImage;
        // System only supports RGB, set explicitly and prevent context error
        // if the downloaded image is not the supported format
        CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
        CGContextRef context = CGBitmapContextCreate(NULL,
                CGImageGetWidth(imageRef),
                CGImageGetHeight(imageRef),
                8,
                // width * 4 will be enough because are in ARGB format, don't read from the image
                CGImageGetWidth(imageRef) * 4,
                colorSpace,
                // kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Little
                // makes system don't need to do extra conversion when displayed.
                kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Little);
        CGColorSpaceRelease(colorSpace);
        if ( ! context) {
            return nil;
        CGRect rect = (CGRect){CGPointZero, CGImageGetWidth(imageRef), CGImageGetHeight(imageRef)};
        CGContextDrawImage(context, rect, imageRef);
        CGImageRef decompressedImageRef = CGBitmapContextCreateImage(context);
        CGContextRelease(context);
        UIImage *decompressedImage = [[UIImage alloc] initWithCGImage:decompressedImageRef];
        CGImageRelease(decompressedImageRef);
        return [decompressedImage autorelease];

  • WTK Memory profiler crashes

    Hi,
    I am trying to profile my application using the wtk's memory profiler. The apllication that iam trying to load is pretty huge. When i try to do this, the memory profiler (zayit.exe) crashes.
    The stack trace is as follows
    java.lang.IndexOutOfBoundsException
         at java.io.BufferedInputStream.read(BufferedInputStream.java:272)
         at java.io.DataInputStream.read(DataInputStream.java:224)
         at com.sun.kvem.memorymon.MemoryListener.run(Unknown Source)
    Any help would be of great use.
    Thanks,
    Suresh

    ----------------From Flex Builder
    Help---------------------------------------------------
    One approach to identifying a memory leak is to first find a
    discrete set of steps that you can do over and over again with your
    application, where memory usage continues to grow. It is important
    to do that set of steps at least once in your application before
    taking the initial memory snapshot so that any cached objects or
    other instances are included in that snapshot.
    Then you perform that set of steps in your application a
    particular number of times -- 3, 7, or some other prime number --
    and take the second memory snapshot to compare with the initial
    snapshot. In the Find Loitering Objects view, you might find
    loitering objects that have a multiple of 3 or 7 instances. Those
    objects are probably leaked objects. You double-click the classes
    to see the stack traces for each of the instances.
    Another approach is to repeat the sequence of steps over a
    long period of time and wait until the memory usage reaches a
    maximum. If it does not increase after that, there is no memory
    leak for that set of steps.
    check your app following these instructions above.

  • No photo, But 1,2 gb fills on memory

    I deleted all photos and videos. even iMovie and deleted folder too. But in settings. memory informations tolds me that photos fills 1,2 gb on memory.

    Have a look at this solution:  There are apparently more users suffering from phantom photos that cannot be deleted:  Changing the date makes the photos in "Recently deleted" visible again:
    txforeverMar 5, 2015 6:38 PM Re: More photos in settings than photos app shows
    Re: More photos in settings than photos app showsin response to morganfaith6
    I managed to get rid of the phantom usage. Restoring iPhone and resetting the phone settings/data do not work for me.
    I had to move the Date on my phone earlier by 1,2,3 months and found the phantom photos in the Recently Deleted Folder. Next, I deleted the photos manually from the Recently Deleted Folder and the usage got freed up from my iPhone.
    Hope this works for you

  • Flash fills up /tmp then crashes

    Hi, I have a problem with flash where it will fill the /tmp folder when streaming a playlist in full screen and inevitably crash as a result of this. I usually just put on a playlist and fall asleep to it and it sucks when it crashes every 3-4 videos and I'm still awake and have to get up and reload the page and find which video I was watching etc.
    Is there any solution to this that doesn't involve resizing /tmp to a ridiculous size just to outlast the gigabytes of data I stream over the night? Thanks.
    Last edited by ampe (2012-11-12 22:48:30)

    ampe wrote:
    Jasa wrote:Assuming you have pure systemd, it does have /usr/lib/systemd/system/tmp.mount file on boot to create tmpfs (also installers for some larger might not work cause of this like Regnum Online), renaming that into ex: tmp.mount.backup makes it to be ignored, it cannot be disabled with systemctl if i remember right.
    Don't disable /tmp like this, it will be reverted on package upgrade. The proper way is "systemctl mask tmp.mount".
    ampe wrote:
    Jasa wrote:
    Also for just in case you could add # to your /etc/fstab file to make sure there is no attempt from there either.
    Do you mean if I disable /tmp altogether in these locations temp files will only load into RAM and skip the HDD altogether?
    If you disable /tmp in the ways Jasa explained it means nothing will be mounted on /tmp so your root filesystem will be used to store whatever you put in /tmp (so almost certainly the HDD). If you want stuff to stay in RAM you should mount a tmpfs on /tmp. This is what systemd does by default, but it is too small for your use, then you might want to override it by putting an entry in /etc/fstab with an explicit size= option setting it to something bigger (in this case you might also want to add some extra swap so you don't risk running out of RAM).

  • Telemetry + uploadFromBitmapData == Memory leak, crash

    Hi all,
    This bug/crash is a memory leak that only occurs when utilizing texture upload and -advanced-telemetry at the same time.
    Testcase at: http://onetacoshort.com/temp/telemetry_leak.zip
    Testcase README file is as follows:
    Using Scout to debug an app compiled with -advanced-telemetry using the new ASC2.0 compiler, uploading textures via:
      flash.display3D.textures.Texture.uploadFromBitmapData(bd);
    causes a memory leak and eventual crash.  Observed when using AIR 3.6 - 3.8 on both iOS and Android.
    Memory usage in the "Other" category rises infinityly in steps until the app crashes (see scout_screenshot_telemetry.jpg).
      If compiled without -advanced-telemetry, the app runs properly (see scout_screenshot_without.jpg)
    Note that if the Testcase app is not connected to a Scout instance (i.e. Adobe Scout app not installed, or not enabled), it does not crash.
    So it's probably not critical, but it's a testing irritation.
    Best,
    -Jeff

    Hi Jeff,
    Thanks for the heads up.  Would you mind copy/pasting this report over to bugbase.adobe.com as a new bug report?  Once added please shoot me the bug number and I'll follow up internally.
    Thanks,
    Chris

  • Lifeblog fills phone memory - how to get rid of it...

    I recently started running out of phone memory, and even after deleting some files it fills up again in a couple of days. I had thought the problem was Sports Tracker, but it turns out to be "Lifeblog".
    I used x-plore to look at the 160MB C:/ drive, and there is a hidden Lifeblog folder. Within this there is a file called "TextIndex.db" which is no less than 105MB!
    **bleep** is going on here? I've never enabled lifeblog, I am in no way interested in such an application, so what's it doing using all my phone memory?
    Also more to the point, how do I get rid of it? There doesn't seem to be a way to uninstall it given it's built-in. Alternatively is there a way to disable whatever it thinks it's doing.
    Thanks for any help.

    Ok I solved this but it wasn't easy - the only way to get rid of the oversized file and recover the phone was to re-flash the firmware.
    The offending TextIndex.db is now 7K. Since I unchecked all the categories from LifeBlog I'm hoping it will stay that way.
    This is a serious bug in LifeBlog that effectively bricks your phone, and in a way that's hard to detect unless you know how to look at hidden files/folders on the C: drive. I hope someone is looking into it.

Maybe you are looking for

  • PF Status in ALV grid

    I've created a pf status 'STD' by copying that of SAPLSALV 's standard pf-status. I've a menu entry to add. which i 've done. Then i've attached the pf-status 'STD' to my program. Now when user chooses one column and clicks on it i have to show a mes

  • HT201250 How can I migrate a Time Machine backup from an external hard drive to a new TimeCapsuls?

    I just got a 2TB Time Capsule.  I want to migrate my time machine backups on an external hard drive to the new Time Capsule.  I have about 430Gb of files to back up; I don't want to wait 7-8 days for the backup, unless I have to.  I am using OS 10.7.

  • Error while releasing object to quality server

    Hi,    I have written follo select stmt ,     SELECT BELNR                                                              "Case1            GJAHR            EBELN            EBELP            DMBTR FROM EKBE                  INTO TABLE IT_EKBE          

  • Document Type (Extension) restriction while uploading file.

    Hi all, Is there a way by which I can restrict uploading only certain types (rather extensions - .xls, .doc, .pdf etc) in cFolders. Regards, Reema.

  • Muse - reinstall + missing widget menu

    My Muse was missing one of the drop down option for one of the widgets. (See attached screen cap...the menu below the OnClick Event was not active.) I was using the latest version of Muse downloaded via the Adobe Application Manager/Creative Cloud on