Error message that no virtual memory pops up & crashes when application is run for more than 1 hour

My application uses VISA serial operations. It has arrays to store data collected from various devices. I reinitialise the arrays each time the index reaches 50.
Data acquisitions is carried out in separate threads by invoking the runVI method.
When i run the application on Win XP continuaously for more than 1 hour it gives an error message that no more virtual memory to complete the task and the system hangs up.
I open the serial port only once and close it when the application is terminated. But serial read/write operations are done continuaously
Is the error caused due to memory leakage? How can i solve the problem. It's very urgent and i shall be thankful if i ge
t the help.

Yes, it sounds like a memory leakage (either that or you're trying to run an advanced app on an old computer w/ little memory and a small hard drive).
Things to try:
1. Ensure it's only labview, and not say labview and another application interacting. This isn't a likely case, but you never know what people have on their boxes and I've seen some weird things with virus scanners. Hit Ctrl-Shift-Esc to get the task manager. Go to processes and watch the memory consumption (click Memory twice to sort in descending order) of the various processes. If labview keeps rising, you've got a leak.
2. If only a reasonable amount of memory is being used, double check your page file settings (read virtual memory).
From the Control Panel
Select System
Select
Advanced Tab
Under Performance, select the Settings button
Select Advanced Tab
Under Virtual Memory, let windows dynamically adjust the page file (and any XP speed tweakers out there can now chime in about how wrong this is. This essentially allows windows to keep upping the virtual memory as needed by various processes.
3. Find the leak. In LV Tools->Advanced->Profile VIs. Turn on memory stats. Start the profiler. Start your vi. If the vi crashes labview totally, you'll have to keep hitting snapshot to find the leaky vi (the one that's memory keeps growing).
4. Upload the vi to the forum so we can give it a looksee.
G'luck
2006 Ultimate LabVIEW G-eek.

Similar Messages

  • I'm hoping someone can kindly help with me with an error message that is causing PDF file generation failure when using InDesign CS6 for Windows and Acrobat Distiller 8.0

    <PDFX ISO="15930-1:2001" COMPLIANT="true">
    PDF/X Compliance Report
    1.  Summary
       Warnings: The total found in this document was 0.
       Violations: The total found in this document was 0.
       No problems were found in the document.
       This document passes PDF/X-1a:2001 compliance checks.
    </PDFX>

    @Jack – this is no error message, just a log, that all was running ok.
    See detailed answer here:
    Re: I am getting some errors while distilling the post script file.
    Uwe

  • HT201210 I cant use my iphone because I'm getting the error message that I must connect to Itunes and when I do it says the only option I have is to restore my phone.

    I cant use my iphone because I'm getting the error message that I must connect to Itunes and when I do it says the only option I have is to restore my phone.

    Try using RecBoot or TinyUmbrella to kick it out of Recovery mode.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • I keep getting an error message that I have an invalid security code when trying to make purchased in itunes.  But my security code and billing info are valid.  How do I rectify this problem?

    I keep getting an error message that I have an invalid security code when trying to make purchased in itunes.  But my security code and billing info are valid.  How do I rectify this problem?

    Did you ever get an answer to this? Im having same issue now! So frustrating!

  • My iPod doesn't work. The screen is black but it has a ticking circle in the middle. Its been stuck like that for more than an hour. My iTunes doesnt recognize the iPod Touch and says 'iTunes could nit connect to this iPhone-unknown error

    Its been stuck like that for more than an hour. My iTunes doesnt recognize the iPod Touch and says 'iTunes could nit connect to this iPhone-unknown error

    I'm soooo sorry to bump this but MAYBE someone will know what to do?! I've just tried EVERYTHING. I need help. Please, anyone?!
    *last chance and I'm backing away sloooowly*
    thanks to ANYONE who will suggest ANYTHING at all!!!

  • I am trying to copy more or less 30G from my MacbookPro to an external hard drive and it is stuck in the "preparing to copy" step. But that for more than one hour. What should I do to make it faster? Thanks a lot in advance!

    I am trying to copy more or less 30G from my MacbookPro to an external hard drive and it is stuck in the "preparing to copy" step. But that for more than one hour. What should I do to make it faster? Thanks a lot in advance!

    Thanks Shootist007, by blockd files I mean files that I have changed to blocked and when I tried to move then for the first time, I had to unblock again. I am trying to backup my pictures, my songs and other files like word documents and excel tables. First I put all of them as blocked, what caused the first problems on trying to move them. Then, I've unchecked the block option and if I try to move one by one, there is no problem. The issue is to move all together, because it gets stuck in the preparing to copy files step. Anyway, if I cannot do all by once, I'll do it one by one, event though that was not suposed to happen if we are talking about technology, right? Anyway, I thank you again for trying to help me!

  • I am getting a runtime error message that won't allow itunes to open when I plug in my ipod.  Any suggestions?? I already rebooted my computer.  It worked fine yesterday.

    I am getting a run time error message that I've never seen before, it won't allow me to connect my ipod touch with windows.  It says:  An application has made an attempt to load the C runtime library incorrectly.
    I have no idea what this means but it was working fine yesterday when I connected it. 
    I have rebooted my computer and nothing has been fixed.

    Did you do this:
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8

  • Why does itunes send me an error message that says to verify my network setting when I try to download updates?

    Why does Itunes send me an error message that says to verify network settings when I try to download updates?

    Disable ALL security software (firewall, antivirus/spyware, etc) when updating.

  • HT5621 Trying to change the email on my apple ID but get error message that the email I want to change to is already used for notifications. What do I do?

    Hi,
    I'm trying to change email address on my Apple ID since the email registered for the account has been hacked and I can't access it anymore. The email I want to change to is connected to another Apple ID I created about 4 years ago, though I successfully changed the email on that account as well. So the email I would like to use for my main Apple ID shouldn't be "locked" anymore.
    Though, when trying to change the email on my Apple ID I get an error message (in Swedish, so this is a direct translate from google): "This e-mail address is your email address for notification. It can not be used as the Apple ID or primary email. Choose a different address."
    I'm not really sure what this means or how I can fix this. The email address is connected to my Ipad and Iphone for the email app, can that have anything to do with it?
    If it makes any difference, I updated both my Ipad3 and Iphone4 to ios 7 today. I'm trying to change from my Macbook air though.
    Please advise, would really appreciate a reply ASAP.

    caek1 wrote:
    Hi,
    I'm trying to change email address on my Apple ID since the email registered for the account has been hacked and I can't access it anymore. The email I want to change to is connected to another Apple ID I created about 4 years ago, though I successfully changed the email on that account as well. So the email I would like to use for my main Apple ID shouldn't be "locked" anymore.
    Though, when trying to change the email on my Apple ID I get an error message (in Swedish, so this is a direct translate from google): "This e-mail address is your email address for notification. It can not be used as the Apple ID or primary email. Choose a different address."
    I'm not really sure what this means or how I can fix this.
    It means exactly what it says... The email Address is in Use. You cannot re-use it.
    Apple ID Support  >  http://www.apple.com/support/appleid/

  • I am unable to validate my registration and get error message that I am not connected to internet when I am.

    how to validate registration on the internet when error message says you are not connected when you are.

    Scroll down to "Chat now":
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivat ion-products.html#chat

  • I cannot sync my Iphone 6 . I keep getting a message that says "1 Item failed to sync. Please see ITunes for more info"

    I recently got an IPhone 6+ a few weeks ago. The 128 GB version. So far, I've loved it. I love the screen size, I love being able to put as much music and movies on it as I can. At least theoretically.
    For whatever reason, I cannot sync and put music and movies on my phone. No matter what I do, what settings I change, or how many times I Google it, I keep getting a message that says
    "1(Or just) Items failed to sync. Please see Itunes for more information"
    Every time I try to sync my phone, I get this message. I have a library of 1300 songs and entire seasons of shows that play just fine through Itunes but for whatever reason will not sync to my phone. It doesn't matter if the songs were ripped or bought from Itunes, I cannot get more than a handful of songs onto my phone anymore.
    Has anyone had this problem recently? Most Google searches only found information from 2011-12. And again, every "fix" I've found from Googling has not fixed this problem.
    What's the point in a 128 GB Iphone if I can't put anything on it?
    Thank you for your advice and direction.

    Ok....so I have found a work around....if not a complete solution.
    I'm not sure if deleting your music, uninstalling ITunes and reinstalling and adding your music back will actually affect it but I tried it again. Started from scratch.
    I checked the box for "Manually manage music and videos"
    Then I moved my music to phone via drag and drop, usually just boxing a row of albums at a time.
    I went back into my Iphone and began the sync. The message popped up, "1 Item could not be synced" and the sync stopped. At that point, I just clicked sync again and it started back up again. It took a few go's but eventually I got all my music on my phone.
    Ironically enough, the only songs that wouldn't sync were songs that I had actually purchased from Itunes....kinda odd

  • Error message on PE 3.0.2.  Crash when pointer click on Titles

    Hello Everyone,
    Vista Prefeesional.
    AVI files and projected worked and stored on UBS pocket hard drive.
    All avi files in system and on time line.
    Produced Titles. Made mistake so want to edit. Every time I click to edit, get error message, click ok, the PE disapears and I'm looking at desk top.
    Other facts. Vedio shot on JVC GZ-HD3. It usess silly TOD files. Converted to avi using PRISM VIDEO CONVERTER. Shot in 1440 x 1080. Set up PE project on 1440 x 1080. JVC claim the firewire will work for streaming at 1440 x 1080. I have NEVER got it working. Want to chuck camera in bin.
    It is so bad now I am unable to finalise my project (my son competing in the solo (bag) pipes hampionships... he came first in state. Also recorded his band; they came first too. Project important for evaluation before next competition.
    Thanks for your interest in this forum. Rodney.

    Thanks Steve,
    Sorry about the long winded explanation. I have in fact taken a screen shot of the problem but not sure whether I can get it on this forum.
    Anyway, I'll put it more clearly.
    1. Have imported video clips and put them on time line.
    2. Have used jpegs and gifs as background (when I need them).
    3. Placed titles on graphics. These titles say who is playing (the bag pipes in this cast) and what song they are playing.
    4. To save time I 'copied' the titles and pasted the copies along the time line. these copies need editing. the words are to be changed but I wish to retain the format.
    5. I discovered when you copy and past these titles, they all remain the same. If you edit them, all the titles change. This is a personal problem - I can not do copy and past for individual titles in the future.
    6. The problem. When I double click on the title I wish to edit, PE3 says that it has encountered an error (no error code). When I click ok, then the program instantly shuts down and I find myself back at the desk top.
    7 I have reinstalled the program, but it still does it.
    Any ideas would be greatly appreciated. Thanks. Rodney.

  • Can I make a DVD that will go for more than two hours?

    Hi,
    I'm working in iDVD 08, version 7.0.1, and when I drop in video that lasts over an hour, I get a warning. The original videos are around 100 MB for each hour, and iDVD won't let me add more than two. It's saying my two 100 MB videos will fill the 4.2 GB of space on the DVD.
    What can I do to have the videos stay at around 100 MB each, so I can put several of them on one DVD?
    Any help is most appreciated.
    Russ Conte

    Russ,
    iDVD isn't really designed to archive old highly compressed movie files.
    DV video (for which iDVD was originally designed) runs about 13 GB per hour and iDVD mpg-2 compresses everything to fit a maximum of 120 minutes on a single-layer disc. (Your files are much more highly compressed than DV and perhaps are also smaller in image size.)
    If you want to 'cram' a lot more content on a DVD (and don't care about the quality) you might want to look at VisualHub that claims to let you put up to 18 hours of content on a disc.
    F Shippey

  • I am trying to set up Recipefox to export MasterCook 11. What configurations should be "export" box. I am also getting an error message that Java.lang.Runtime exception. could not create a new folder for the writer.

    When Igo to "Export them" a box shows that my configuration paths are not correct.

    Support for the RecipeFox extension is over here: <br />
    http://recipetools.sourceforge.net/phpBB3/index.php

  • I have not been able to redeem my iTunes gift card in the iTunes store.  I have received teh same error message that the store is not available at this time.  It has been over 24 hours.  I downloaded the software yesterday as well.

    Has the iTunes Store really been unavailable for the past 24 hurs?  This is the message I keep receiving when trying to redeem a gift card.

    Far out I got a iTunes Card Code and it redeemed just fine! If you want one go to freeitunesforever|d●t| com

Maybe you are looking for

  • Transaction code EEWB in ECC6.0

    Hi, I would like to know about EEWB (Easy Enhance Workbench). Is this function only for CRM or also supports field extension in ECC6.0? I found that there is a transaction code EEWB in ECC6.0 and it starts. Thanks in advance. Makoto

  • InitialContext Caching

    I seem to be unable to find a best practice for caching InitialContext objects. I'm doing some profile on my current project to pinpoint hotspots for optimizations and the creation of IC seems to be one of those areas. Is it recommended to use a sing

  • Safest way to restore a user after a clean install?

    After wrestling unsuccessfully with an issue with my Tascam US-800, I'm thinking a clean install of Lion is my best solution. It's been a long time since I've done a clean install, and I'm wondering what the best way is to restore applications, virtu

  • Graphics Distortion in Presenter 7 and Breeze

    I am new to using Breeze, my company uses it. I noticed that the graphics in our .ppt presentations are blurry quite often when we publish the Breeze presentations. We usually insert .gif or .jpg graphics (usually screen shots of applications). I dec

  • How do I apply the NavBar style to Additional Toolbars?

    I created an additional Toolbar using Customize... but the Navigation Bar has button backgrounds how do I apply that style to my new Toolbar?