Memory leak running 32bit app in Windows 7 64bit

I have an app that does not show signs of memory leakage (I'm queuing up 10mb arrays, and dequeuing them to file) under a standard 32bit operating system.  I've since tried running it in Windows 7 64 bit (as a 32 bit process using Labview 32-bit runtime engine) and noticed memory is incrementing.  
Program takes 300Mb of memory.  If I save 100Mb of data to a file, will windows 7 64bit show this as 400Mb of memory (under windows on windows 32 bit)?  I don't think it would, but you never know...
Are there any bugs in Labview 2010 with regards to queuing and windows 64 bit?  I'm tracking my Queue usage and it isn't increasing, thus no real reason for it to increase in memory allocation.
Solved!
Go to Solution.

So this is something you observed.....by chance?
Why is the memory "growth" a concern for you?
As 32bit can allocate up to 2(3) GB of RAM per application process, memory is very limited, hence any application has to work very restrictive with memory.
64-bit can allocate several TB of RAM (possibly reduced limited provided by the OS, but still more likely in the TB range rather than GB), an application doesn't need to be conservative.
So it is possible that the OS Task Manager shows increased memory consuption, but as long as performance is not affected, it doesn't hurt anyone.
Norbert
EDIT: This might be also be induced by the funcions you are using to handle the data, in your case the file IO functions. Which functions are you using?
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.

Similar Messages

  • T410s: hitting ctrl key hangs some 32bit apps under Windows 7 64bit

    Hi,
    Can anyone help me figure out the issue? I use a T410s with Windows 7 64bit, 2G memory. When I hit the "ctrl" key with IE32bit, MS messenger or outlook2010, it makes those applications hang. If I use IE64bit, it does not have the issue. I am not sure if it is a memory problem (it looks it is not) or it is a software/hardware conflict issue.
    The following info is from the error info that messenger hangs when I press the ctrl key.
    Problem signature:
      Problem Event Name:   BEX
      Application Name:     msnmsgr.exe
      Application Version:  15.4.3502.922
      Application Timestamp:        4c9b0282
      Fault Module Name:    StackHash_b4ee
      Fault Module Version: 0.0.0.0
      Fault Module Timestamp:       00000000
      Exception Offset:     0bb5406a
      Exception Code:       c0000005
      Exception Data:       00000008
      OS Version:   6.1.7600.2.0.0.256.48
      Locale ID:    1033
      Additional Information 1:     b4ee
      Additional Information 2:     b4ee5de6a2322745523997a782b35692
      Additional Information 3:     277e
      Additional Information 4:     277e19c30fbd5f6bb531ec9e027c37c3
    Thanks for your help.

    Did you upgrade from 32bit?
    Did you swap the Fn keys with the Ctrl keys? If you did, you might want to go back to BIOS and swap it back. Or you can do a BIOS reset to be sure.
    *Non Lenovo employee*
    I have a Y2P (i5) ... Feel free to ping me if you want me to test some applications with your Y2P if you have the same model. I don't mind keep doing recovery on it if needed .... =)

  • Form become white after running java app. under windows XP

    Hi,
    i developed an application (Form base application) that connect to FTP server and connect to a server via telnet.
    The application is running fine until i'm trying to run it under Windows XP.
    when i'm running the applicaion under windows XP and sending data, the form become WHITE (looks like stuck program).
    the app. is still running but the user think the app. is stuck.
    i try to INVALIDATE the form every time the loop is sending the data and many more ideas but it is still become white.
    the app. is working greate under windows 2000, 98, ME.
    does anyone know this problem and how to fix it?
    Thanks Guy.

    i "just" develope an application that connected to an exsiting servers and upload data to them.
    the problem is that when i run this app. under windows XP, the screen ( the application created in "Form Base") become white, like the program is stuck.
    there is no error, it's seems to be an invalidate problem, but i try to out invalidate everywhere but it is still doen't fix this problem.
    the app. doesnot stuck, it is just looks like that!!!!!
    the weird thing is when i run this app. under all other windows, it's working fine.
    if anything is not clear, write back.
    thanks.

  • Tuxedo Memory Leak Issue (Tuxedo 8.1 - Windows Server 2003)

    Hi
    We are running tuxedo 8.1, 32 bit with patch level 258 in our windows server 2003 based production environment. We are currently facing an issue where the memory usage of machine slowly keeps on going higher and higher eventually resulting in “Memory Allocation Failure” to tuxedo servers. We then have to do a complete restart of tuxedo which stabilizes the system for other few days.
    We have been analyzing the our source code in development/test environment using different tools like a customized Alzheimer tool and IBM purify but both tools reported no memory leaks. We then developed a test tuxedo server exposing a tuxedo service which simply allocates a memory to a response buffer and then returns the response buffer. I then configured tuxedo queue with same name “MEMTEST3” and configured a TMQForward server to call this “MEMTEST3” service every time a message is en-queued to the MEMTEST3 queue.
    unsigned long _LIBENTRY ulTPAlloc(FBFR32 **ppc, long size)
    unsigned long ulRes = MSG_SUCCESS_c;
    ppc = (FBFR32 ) tpalloc("FML32", (char *) 0, size);
    if (*ppc == (FBFR32 *) 0) {
    vLogMessage(hGetLogHandle(), MSG_MEM_ALLOC_ERR_c, (char *) 0, (Event_t *) 0,
    BM_NOSUPPRESS_c, size);
    ulRes = MSG_MEM_ALLOC_ERR_c;
    return (ulRes);
    /*==============================================================================
    Service MEMTEST2
    ==============================================================================*/
    void MEMTEST3(TPSVCINFO *pRequest)
    FBFR32 *pFmlResponse = NULL;
    FBFR32 *pFml = NULL;
    unsigned long ulRes = MSG_SUCCESS_c;
    unsigned long ulActionCode = 0;
    int iExitValue = 0;
    long lTpurcode = 0;
    FBFR32 *pFmlNULL = NULL;
    userlog("Starting MEMTEST3 service.");
    if (pRequest == NULL || pRequest->data == NULL)
    vLogMessage(hGetLogHandle(), MSG_API_ARGS_ERR_c, NULL, NULL, BM_NOSUPPRESS_c);
    ulRes = MSG_API_ARGS_ERR_c;
    else
    pFml = (FBFR32 *) pRequest->data;
    userlog("MEMTEST3: GET THE MEM");
    ulRes = ulTPAlloc(&pFmlResponse, 1024);
    userlog("Ending MEMTEST3 service.");
    tpreturn( iExitValue, lTpurcode, ( char * ) pFmlResponse , 0L, 0L );
    While I was en-queuing the messages to the queue, I kept on monitoring the memory usage of the server hosting the service. What I observed was that I saw an initial hike in the usage of memory of the server followed by small jumps in memory increase. I kept on monitoring the server for a long time and the memory was never returned. What I suspect is that there is memory leak in tuxedo TMQforward process as it never released the memory allocated in the service.
    Can anyone help how this situation can be avoided ?
    Kind Regards,
    Asim

    Hi Todd,
    Also as well as my previous question, I also found your reply to another user posting something similar at Re: Memory leaks in Tuxedo libraries
    You mention that:
    In general Tuxedo will free anything it allocates, although there are cases where memory is allocated and not freed because:
    +1) it is one time or a fixed number of times allocations that will not continue to grow, and freeing up the memory just before exiting isn't of any benefit.+
    +2) the memory is under Tuxedo's memory management functions where we manage our own look aside lists to provide better buffer allocation performance and again freeing these before process termination is of little benefit.+
    Our code does only issue TPALLOC once and then a TPRETURN - could point (1) of your comment above also be something of concern to us, where we would observe a continuous growth of memory usage?
    I know it may sound like a stupid question but do we need to run our code 20,000 times before memory gets freed?
    Kind Regards,
    Asim

  • Fixing Memory Leaks in AIR App?

    Hi Friends,
    I'm been facing this memory leaks issue in our app and this has taken enough of our time and resources and we are not being able to find a solution for it.
    I have identified the problem in the module where we primarily need memory related fixes which is - We are setting Repeater's recycleChildren() property to true/false based upon certain conditions which we cant change. Now when this property is set to false Repeater is supposed to be removing its last created objects from memory and creating fresh ones. In our case repeater is unable to delete those. When I managed to get their instances (using createdChildren()) and freed them in code I called System.gc() for releasing the memory back to OS. Now what is happening is that this approach works fine when I run the app from code but when I create its installer (from Installsheild) and formally out in on machines it does not work. I came to know the reason from following blogs:
    http://jvalentino.blogspot.com/2009/05/flex-memory-issue-3-garbage-collection.html
    http://gskinner.com/blog/archives/2006/06/as3_resource_ma.html
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/System.htm l#gc()
    http://stackoverflow.com/questions/192373/force-garbage-collection-in-as3
    http://gskinner.com/blog/archives/2006/08/as3_resource_ma_2.html
    Guys, can anyone of you suggest what should I do here? This has become a delivery bottleneck and we need to give a fix where the memroy is released periodically and efficiently so that the end user's system does not hang.
    Please help.
    Shubhra

    Are you sure it doesn't ? Maybe flash does release memory but the OS leaves it assigned as described in the below comment from http://www.mikechambers.com/blog/2008/08/06/what-are-your-biggest-issues-with-adobe-air/co mment-page-3/#comment-26330
    "I just finished doing more experiments, I looks like the AIR app  does free the memory, but the OS leaves it assignned to the app process,  until other apps requiere that memory. So, looks like it is a natural  behaviour and the memory leak is not as terrible as I thougth."

  • Can I locate "memory leaks" to keep apps from crashing?

    Hello clever people,
    Since the iPhone 4s is still on the market, I assume that my 2 year old 4s should be able to work fine. However, I am constantly plagued by apps crashing and, most frustratingly, apps often fail to remain running in the background, even with one or no other apps running.
    I had a similar issue with my iPad2, just before it ran out of applecare, and the chap had me run through with sending anaylitcs to him, and his conclusion was that a few apps were causing 'memory leaks' - had me reset the iPad and reinstall everything. So I also did this on the iPhone, which did help, but it has not solved the issue. I have also removed most apps from the device, in a bid to locate the offending app.
    Searching on Google for "memory leak" only brings up info for developers, and nothing for someone who is actually using their phone and having issues. My usual scenario is going for a bike ride and running Strava, which then cuts out when I stop to take a picture - with no other apps running.
    Does anyone know how to solve the issue - return the phone to its 'as new' state, or locate the problem and remove it?
    Cheers,
    Tobias

    There are differenty types of, "resets" ..
    Have you tried the folloiwng ??
    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    No data is lost due to a reset.
    Use iTunes to restore your iOS device to factory settings

  • Memory Leak in Preview.app when switching Display Profiles

    I found a weird memory leak in Max OS X Preview.app, which manifests itself when Display profiles (color calbration) is change. I wonder if anyone else can reproduce my experience.
    1. Open up "System Preferences" -> "Displays", switch to the "Color" tab. You'll need at least 2 available profiles in the list. (If you only have 1, you can create another using "Calibrate..." button to launch Display Calibration Assistant.
    2. Open an image file in Preview.app.  The larger, the better. Zoom in full size to maximize the effect of the bug. I repro'ed easily with this image: http://www.donporter.net/NewSchool/Color/Examples/Printer%20Test%20file.jpg
    3. Open up "Activity Monitor.app", and click on Preview to highlight it, so you can watch its memory usage.
    4. Switch back to "Diplays" Preference Pane. Using the arrow keys, toggle up and down between two different Display profiles.
    4a. At the same time, watch Preview's "Real Mem" in Activity Monitor, as well as the total "Active" memory.
    5. Each time you switch profiles,  Preview consumes more Active/Real memory, about 25MB per switch in my case. This continues until all physical memory is consumed, and then (I presume) starts swapping virtual memory to disk.
    6. Bring Preview to  foreground, and all the profile-induced memory usage is freed.
    Weird, wild stuff.

    Could it be possible that this is just the OS holding the memory for the app until another process requires it?  Do you find that the memory increase eventually causes the app to become unstable? 
    It might be best to open a new bug report on this over at bugbase.adobe.com.  When adding the bug, please include any source code, project or installer that will help us reproduce the issue internally.  If you'd like to keep your code private, feel free to email it directly to [email protected]  Once entered, please post back with the URL so that others effected can add their comments and votes.
    Thanks,
    Chris

  • Image Memory Leaks in AIR app

    We are implementing an AIR application that loads thumbnails
    from the hard drive and uploads them to a remote server.
    When bringing in large images, for example, when importing
    five 2MB files into Image objects:
    Flex reports that it is using 55MB
    Windows reports using 220 Meg (viewing memory usage of
    adl.exe in task manager)
    After deletion of these image objects, the memory stays
    allocated!! It is released when the application is closed.
    Two issues I see:
    1. Huge memory usage for image objects (I understand that JPG
    files are exploded into BMPs). It limits our ability to load 10's
    or 100's of images.
    2. Bad Memory leak
    OTHER THINGS WE TRIED:
    1. Displaying images as inline html IMG tags.. Same memory
    usage!
    2. Taking a snapshot of the image and displaying that.
    Problem, used way to much CPU
    I hope these issues will be fixed before release time or we
    are hosed.
    PLATFORM: Windows XP Professional, service pack 2

    Hi
    Have you tried the FB3 profiler to investigate why memory is
    not getting deallocated?
    You can use the loitering objects panel to track the back
    references for the objects in memory. If you find that image object
    is not being referenced by anything else. Can you file a bug at
    http://bugs.adobe.com/flex
    with a small test case.
    Also as you know that jpg will be translated into bitmap. The
    amount of memory required will be determined by the pixels in the
    image. Each pixel will be 4K
    Thanks,
    Gaurav Jain
    Flex SDK Team

  • Memory leaks in the app

    While doing memory leak profiling in an application, I came across leaks due to certain custom methods like readHeaderBytes or httpProtocolStart from CFNetwork, GSEventRunModal from GraphicsServices etc. What should I do to correct these memory leaks???

    Find the objects that you are allocating that aren't being freed and call release on them. Check out this link:
    http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/MemoryMgmt. html

  • 32bit Oracle on Windows 2008 64bit ?

    Firstly, sorry, but this is an elementary question...which versions/combinations of Windows Server 2008 and Oracle 10gR2 are "officially" supported ?
    I understand that Oracle 64bit 10.2.0.4 is supported for 64bit Windows Server 2008 R1 (SP1 or SP2).
    Similarly 32bit 10.2.0.4 on 32bit Windows Server 2008 R1 (SP1 or SP2).
    Is 10.2.0.4 supported for Windows Server 2008 R2, which I understand is 64bit only ?
    Is there any support (or even a mechanism) for running a 32bit version of 10.2.0.4 on a 64bit Windows Server 2008 (R1 or R2) ?
    For example, we were able to get a 32bit ODBC stack connect to a 64bit instance of 10.2.0.4 on a 64bit Windows Server 2008 R1 machine....I'm realizing with our product we may need to support a 32bit 10.2.0.4 instance. Obviously not desirable or even logical, but a necessary stopgap. But I'm thinking while it is possible to get certain 32bit apps to run in a 64bit OS, I'm not sure Oracle can.
    Any info, insights etc would be much appreciated. Am happy to rtfm if anyone can pass me references...

    Is 10.2.0.4 supported for Windows Server 2008 R2, which I understand is 64bit only ?If i am remember correctly - no. But 10g R2 ist certified for Windows 2008.
    Is there any support (or even a mechanism) for running a 32bit version of 10.2.0.4 on a 64bit Windows Server 2008 (R1 or R2) ?Mixing architectures (o/s and database) is not supported in any way.
    For example, we were able to get a 32bit ODBC stack connect to a 64bit instance of 10.2.0.4 on a 64bit Windows Server 2008 R1 machine....I'm realizing with our product we may need to support a 32bit 10.2.0.4 instance. Obviously not desirable or even logical, but a necessary stopgap. But I'm thinking while it is possible to get certain 32bit apps to run in a 64bit OS, I'm not sure Oracle can.32-bit CLIENTS on 64-bit operating system are supported afaik. At the moment i am unable to login to metalink but as long as it is client-only you can use the 32-bit client on 64-bit operating system fully supported.
    Ronny Egner
    My blog: http://blog.ronnyegner-consulting.de

  • Firefox 3.6 has a memory leak with Winamp Toolbar on Windows 7

    I recently installed the Winamp Toolbar and everytime I closed FF, it would hang and stay open and my CPU would be 100%. The only way to shut it down was thru the task manager. It took me some time to figure out exactly what the problem was but after uninstalling just the Winamp Toolbar, FF closed smoothly. So, im pretty positive it has to do with Winamp Toolbar. I have contacted Winamp but with no response.
    I am running Windows 7 Premium Home Edition (64-bit) and Firefox 3.6.10.

    I wanted to add that I've been having this problem as well.
    I believe it is not OS specific, because I've been having this both on my XP & my windows 7 ( both 32bit home editions).
    I can add that just disabling the addon suffices to prevent the problem. But if you can't use it, you're better of uninstalling it anyway

  • Is it possible to run labview app on windows embedded compact 7?

    Hi,
           I have a low cost single board computer from ICOP, running embedded compact 7 from windows. The board has all the features such as ethernet, usb, serial, vga etc. Is it possible to install labview runtime and run the labview developed apps on this platform?? If so please provide me the links to any related resources.
    Thanks in advance
    More details on the board here...
    http://www.icoptech.com/SPARK
    Regards,
    Vipul

    Thanks so much Gene. I really appreciate your time and suggestions.
    Btw, should have been clearer  as one couldn't imagine I meant that 5.5 (i.e. ancient one). The adobe website also has this info: Windows 8.1 compatibility for Adobe Photoshop version 5 which just says version 5.5 under compatibility. So it does seem possible indeed to run this but perhaps for someone more techie. Had a look at the thread re: 6.0 and tried to run it as admin. Tried copying the contents on the desktop and change the compatibility under properties (even ran compatibility trouble shooter under properties) - but in vain. Must be doing something wrong. Prolly easier to return the CD (:/)
    If anyone could drop an idea in relation to how/where to buy a genuine and legal copy of a CS5/CS6 I woudl greatly appreciate. I bought the 5.5 off eBay and probably will search for the right version this time on there again. But it's a bit of a question mark for me in regards to how do I make sure that I buy a genuine licenced version which I can register with the Adobe.

  • Problem running AIR app on windows server 2003

    Hello,
    I have an AIR app that I am trying to run from a Java program under Windows 2003. (It runs perfect on XP and Vista.)
    The problem is whenever I try to run the AIR app, it runs "Adobe AIR Updater.exe" which causes the app to not run. And both the process stop responding. I can see them both in Task Manager. I disabled the AIR automatic updates using the Settings Manager application but it still runs the Adobe AIR Updater.exe file.
    Any help to resolve this problem would be highly appreciated.

    Not sure about  copying eulaAccepted file from one location to another - that would really depend on which user account your service is running under.
    A better approach (IMHO), is to open the services window (My Computer | <right-click> | Manage, then navigate to Services and expand the tree) so you can see your service on the RHS.
    Stop your service, then inspect it's properties, select the 'Log on' tab, then check the checkbox which says "Allow system to interact with desktop". Apply the change, then restart your service.
    next time the AIR runtime prompts you to accept the EULA, the window will appear on the screen, so you can click "I accept".
    After accepting, reverse the procedure which allowed the service to interact with the desktop, and make sure that you have modified the registry to prevent AIR from updating as mentioned in:
    http://help.adobe.com/en_US/AIR/1.5/air_admin/WS5b3ccc516d4fbf351e63e3 d11c0f59823a-7ff0.html
    You should be all set.

  • Best Software to Run Android Apps on Windows Tablet

    Hi
    I have been looking at some apps to allow Android Apps to run on a Windows Tablet. 
    Grateful if you can assist me with some recommendations 
    Key things are: ease of installation and use;  and long term stability
    Thank you in advance
    This topic first appeared in the Spiceworks Community

    Hello HebertMr,
    I am afraid that is not possible. The reason is they are very different Operation systems and they are designed to follow certain codes(rules).
    Hope this helps. If not give me a shout i am happy to help.
    Best of luck.

  • Error when run java file on windows 7 64bit

    unexpected failure: Error:Only x32 JVM supported
    java.io.IOException: Error:Only x32 JVM supported
    at com.adobe.air.ipa.IPAOutputStream.addInitialContent(IPAOutputStream.j
    ava:142)
    at com.adobe.air.ipa.IPAOutputStream.addFile(IPAOutputStream.java:96)
    at com.adobe.air.ADTPackager.createPackage(ADTPackager.java:47)
    at com.adobe.air.ADT.run(ADT.java:176)
    at com.adobe.air.ADT.main(ADT.java:141)
    can anyone help with the error please ?

    Hi thanks your replies I have uninstalled jre-6u20-windows-x64 again and I open the 32 bit version of IE8 and went to the java.com ran the installation checker and is recommended re-U-windows-I-gift-rv I have already downloaded this app and installed. B ut I still tried to install it and the installation process say its already installed. I ran the test applet and everything works fine.
    When I run the java file from cmd
    java -jar fai-packager.jar -package -target ipa-test -storetype pkcs12 -keystore c:/project/iphone_dev.p12 iLife.ipa c:/project/iLife-app.xml -C c:/project/ iLife.swf -C C:/project/icons . -C C:/project Default.png
    I get this error message
    'java' is not recognized as an internal or external command,
    operable program or batch file.
    The only way I can get the java to run is by installing the jre-6u20-windows-x64 update

Maybe you are looking for

  • How do I put the songs on my iPod onto my iTunes

    I put iTunes onto my laptop and want to put my songs from my iPod onto my iTunes, how do I do this or do I have to rip my cds again to put the songs onto iTunes?

  • Does Sender Mail Adapter support "PayloadZipBean" module

    Hi everyone, I have a scenario where, I get the email with an zip file as an attachment and I need to extract this file and send across. There is no mapping transformation done here, only I need to forward the attached file to the file server. Zip fi

  • Change from 10.4.11 to 10.5...

    Hi there, I'm using OS X 10.4.11 togethet with Logic Pro 8 and want to change to Leopard 10.5. Is there conflicts concerning Logic Pro 8? Will I have to reinstall Logic Pro 8? Thank for your help!

  • T500 praise

    Hi everyone, Got my brand new T500 a week ago, tried a SL500 for 3 weeks, but decided i did'nt like the keyboard layout (why are lenovo the only one with the ins/home/pgup - del/end/pgdn buttons in a 3 under 3 config - all other vendors throws these

  • Cisco Jabber Demo license

    Guys, Our company is willing to implement Cisco Jabber 9 but they require some sort of demo license to test the functionality of the solution, i have simply no idea about it, so need your help in this regard. BR. Abd