PXI-SCXI in Linux running LV 8.0.1 consuming all available memory

Hi, we have the following environment here:
Software
- Mandriva 2006 PowerPack
- LabView 8.0 with update 8.0.1 for Linux
- DAQmx 8.0
- DAQmx base 2.0
Hardware
CHASSIS  PXI-1011: PXI-8176, 512Mb RAM, 6052e, SCXI-1129 (we are using 7 of them), BORNES SCXI 1129: 1335,  matrix topology 8x32
 LV program
Two analogic acquisition tasks created and cleared in a non-simultaneous way (one for rotation measurements, and the other for vibration measurements), and a switching task, in a total of 54 sensors.
Here goes the history:
After struggling (togheter with some NI folks) to configure this environment in Linux, now we have a different problem: In a matter of days our application eats all the available memory (swap and RAM) and freezes the PXI-SCXI.
We have already checked:
- (phisical) memories
- all start-clear/stop threads (including different combinations of stop AND clear and only clear)
- isolated our algorithm;
- isolated all local variables and arrays (no global variables);
- isolated all database related code.
In the end, after having only the acquisition tasks running, the LV process still eating aproximatelly 1Mb of RAM per minute, if we use a 1minute window for complete switch-loop and acquisition-loop.
We would like to know if there is some known workaround or upgrade that we are supposed to do to solve this problem.
Thanks in advance for all contributions,
Message Edited by ratem on 08-09-2007 05:34 PM

Hi Ratem,
Memory leaks is a little difficult to debug. I can see you have already done some procedures to isolate the problem. The tests indicate that the acquisition code is consuming the memory. It is possible if you are leaving some tasks open (in memory). All tasks opened must be closed to deallocate the reserved memory.
There are others possibilities to the memory problem. The linux itself can be the problem. Are you sure the memory leaks are only observed when the LV program runs? If it's the case, I will suggest you to do a simple vi, a while loop with a timing function. Does this simple program show the same behavior?
Best Regards,
Alisson Kokot
NI BRAZIL

Similar Messages

  • Why does AE CS4 consume all my memory when running a preview?

    I have Windows Vista x64 with 4Gb of RAM but everytime i want to make a RAM PREVIEW the program does not release the memory in use. For example: I start with AE CS4 using 2gb of ram, then i make a preview and it reaches to 3gb of ram. If I continue making previews it comes a time when all hangs up becouse i have no more memory left!
    I remember from previous versions of After Effects that the "green bar" over the timeline, when you were lack off memory, it started to move at some point and the older rendered frames start to disapear in order to render the new ones, making the lenght of the green bar as long as possible but without taking out ALL your memory.
    I've found in Premiere CS4 an option that says: Optimize Rendering for Memory/Performance. This help me out with the same issue in Premiere, but I can't find anything like this en After Effects.
    Any suggestions?

    Take a look at the memory and cache settings. Try increasing the amount of memory to leave for other applications. Also, MP4, due to it being long-GOP, does require a higher memory footprint to decode than some of the other formats. AE is designed to use as much ram as you tell it when doing a RAM preview. Depending what else you have running on your system, our defaults may be too much.
    For instance Internet Explorer is taking 100 MB just to show this page. If you launch task manager, you'll need to add the Working Set column to get an idea of how much RAM something needs.
    --chris

  • Firefox eventually consumes all available hard drive space while running

    I have 1-2 GB available on my hard drive. When I leave Firefox running for a while (a few hours to a few days, not sure what triggers this behavior), my available hard drive space goes down and down until it gets down to 0. If I quit Firefox, the hard drive space frees up.
    I always have multiple windows and tabs open. I'd rather not quit Firefox ever, but I have to to get my HD space back. Sometimes it doesn't seem to happen for a long time, and then it starts happening. I've been rebooting about weekly recently and it hasn't helped any.

    I would also have assumed it was just variations in VM usage & application or system memory usage - except that it may show, say, 300 MB available AFTER rebooting, and then, without my launching any applications or using the computer, just immediately rebooting a second time, show 2 GB available.... so somehow the space available isn't be allocated properly it seems to me...
    I was also afraid that I was running with too little available space - but have been doing so for months now without these problems. I've got a lot of large video files on the drive, no other drive available to transfer them to, no $$ right now for purchases... and didn't want to delete the videos. I need to transfer more to CD/DVD's but have done all the 'easy' ones that are less than 700 MB already, and have to either waste DVD's or take the time to convert them to versions that will allow the DVD to play on TV also - something I haven't tried yet and gather takes a bit of time. So I've been running along with the drive pretty full.
    I would really like to know how to find any 'junk files' like temp files, any duplicates, etc that can be safely deleted, but also not sure how to do that on a mac? So there's this issue, and also the first paragraph, e.g., that it seems to me that somehow the space available allocation isn't being properly shown - is there some way I can check that, find out what is using up the space?

  • Linux runs hotter than Windows?

    Right now in Windows, CoreTemp reports that my processor is a little under 50 C, but in Arch lm-sensors says that it stays around the upper 50s, often jumping up into the 60s when I open a new program or play a Youtube video.  Does anyone know why this would be?  CoreTemp reports that the CPU is running at around 1.5 GHz, but in Linux cpufreq-info reports that it's often lower, around 933 MHz.
    The processor is an Intel i3 mobile, which can go up to 2.13 GHz.  In a Sony Vaio, just let me know if you need any other hardware specifics.
    Any ideas why Linux would be running hotter than Windows?

    Alright, thanks for the quick replies.  The reason I want to solve this is because the fan spins way faster in Linux than Windows, and it's gotten annoying how loud it is.
    The CPU frequency is the same in Linux and Windows (if not a little slower in Linux).
    According to htop there's no significant workload right now.
    I don't see why the graphics card would be any hotter in Linux (although I'll check that out now).
    The fan is spinning way faster in Linux, so it's definitely not that Linux runs the fan slower.
    Do you think it would be safe to assume lm-sensors is just over estimating the thermal junction, and I can force the fans to spin a little slower?
    e:  When I run sensors and get a line like this -
    Core 0:       +58.0°C  (high = +80.0°C, crit = +90.0°C)
    The crit temperature is TJunction, right?
    Last edited by Yes (2011-04-10 17:19:06)

  • May LV for Linux run in embeded linux system with ARM9 ?

    Hello All,
    May LV for Linux run in embeded linux system with ARM9 ?
    Tks and best regards!
     Bright

    No, it will only run on Intel compatible processors.
    You'll need LV Microprocessor SDK for that (AKA LVEmbedded). But you'll lose
    the MMI. And you need to build toolchains yourself (although there is a
    cygwin example shipped, and converting it to any gcc toolchain is not that
    difficult).
    There is a special LV MSDK for ARM processors, but not for all of them.
    Regards,
    Wiebe.

  • Have one instance on linux running one database.can i create more databases to sam

    i have one instance on linux running one database.can i create more databases to same instance and they all remain up .

    you can create more than one database (Instance) on the same machine, start up all of them, in the connect string write the Instance name you want to work with.
    null

  • Why are most of the apps (anything that has to search) on my iphone4 and ipad (1) running very slow (or not at all) since iOS5 update...esp google. Search seems to go quickly, but then when I try to open a link..nothing. I have turned off icloud.

    why are most of the apps (anything that has to search) on my iphone4 and ipad (1) running very slow (or not at all) since iOS5 update...esp google. Search seems to go quickly, but then when I try to open a link..nothing. I have turned off icloud.

    I am having the same problem. Did turning off iCloud work? Did you just turn everything off or did you actually delete the account off your iPod?

  • I can no longer import raw files from my Panasonic Lumix LX5 into Aperture 3.3.2 - raw files from my other Canon cameras are fine. Am still running Lion - NOT Mountain Lion. Tried all available software updates - no joy. Any ideas please?

    I can no longer import raw files from my Panasonic Lumix LX5 into Aperture 3.3.2 - raw files from my other Canon cameras are fine. Am still running Lion (10.7.4) - NOT Mountain Lion. Tried all available software updates - all up to date apparently but still no joy. OS X Lion shows the LX5 as a supported file format. I dont want to have to upgrade to Mountain Lion just to see if this solves the problem. Any ideas please.

    Since when did this happen? Directly after you upgraded to Aperture 3.3.2?
    If it happened directly after the upgrade the problem may be, that the raw support for your camera got lost. For some posters it helped to register the raw support again, see this post by Alan Roseman:
    Aperture 3 preview of raw file greenish
    If this does not help, you may need to reinstall Lion to bring back the raw support.
    But if the problem occured independent of a new installation, ypu may have a problem with your camera or the card you are using. Have you tried to use a different card or to reformat the card in the camera?

  • HT1338 I'm running MacOS 10.7.5 with all updates and did an update last night for aperture and now aperture doesn't open.  What's Zup?

    I'm running MacOS 10.7.5 with all updates and did an update last night for aperture and now aperture doesn't open.  What's Zup?  Help!

    Also when I do the system update it's not giving me an update for the latest Snow Leopard. I never knew that was available until I started looking around this site and it seems that since I have the internal dual core I should be able to update to mountian lion...is this correct? Will someone please help me and walk me through this. I love my mac I want to have it running like it should be.

  • Am running Firefox 7.0.1 now. Normal memory usage is 157mb but when running Facebook (not running apps nor games), it goes up to 553mb Why?

    Am running Firefox 7.0.1 now. Normal memory usage is 157mb but when running Facebook (not running apps nor games), it goes up to 553mb Why?

    I encountered the same type of problem. Firefox running terribly slowly and slowing down my entire machine (Core i5 with 256GB SSD). Searching the forums, I found a couple of things about troubleshooting performance issues, one of which was to use '''hardware acceleration''', that is on by default. It was turned on on my PC, '''so I tried deactivating it, and it worked!'''
    So doing the exact opposite as Mozilla support said solved the problem. It is really a pain now to work with Firefox. I'm using it because I have no choice, but I'd recommend IE and Chrome over Firefox... Whatever, the market will decide once Firefox has become to crappy...

  • Help my hard drive is being taken up by about 200gb of "other" memory, i am running time machine on an imac does does cause the problem how can i get rid of all "other" memory

    my problem is that most of my imac hard drive is being taken up by 200gb of "other' memory
    i am running time machine does this contribute
    how can i get rid of all "other" memory
    thanks

    JKOL96 wrote:
    i am running time machine does this contributex
    Some, possibly, but shouldn't be a problem.
    how can i get rid of all "other" memory
    Much of it is OSX and other things needed to run your Mac.
    See The Storage Display for an explanation, and don't miss the link to Where did my Disk Space go?

  • Can we code in ABAP to run on all available instances?

    Hi,
    My requiremnet is to run a custom report to run on all available instances?
    how do we handle it??
    Rgds
    praveen

    You can use RFC enabled function module to do what i understood you wanted. :
    Establish a list of instances with
          CALL FUNCTION 'TH_SERVER_LIST'
               TABLES
                    list = list.
    Then encapsulate your report in a function module converting parameters of the report into import parameters of the function module and enabling RFC calling under SE37. Then do a loop on servers calling the function
          taskname = '000'.
          LOOP AT list.
            DO.
              ADD 1 TO taskname.
              CALL FUNCTION <YourFunMod>
                   STARTING NEW TASK taskname
                   DESTINATION list-name
                   PERFORMING end_of_task ON END OF TASK
                   EXPORTING
                        <your parameters>
                   EXCEPTIONS
                        communication_failure = 1 MESSAGE msg_text
                        system_failure        = 2 MESSAGE msg_text
                        RESOURCE_FAILURE      = 3.
              CASE sy-subrc.
    *           Ok, goto next
                WHEN '0'.
                  ADD 1 TO nbr_tasks.
                  EXIT.
    *           Fatal error
                WHEN '1' OR '2'.
                  MESSAGE x208(00) WITH msg_text.
    *           Not enough resources, wait
                WHEN '3'.
                  WAIT UP TO 10 SECONDS.
              ENDCASE.
            ENDDO.
          ENDLOOP.
    * wait until the end
          WAIT UNTIL nbr_tasks IS INITIAL.
    The subroutine decrement nbr_task
    FORM end_of_task USING taskname.
    * Receive results if export data
    *  RECEIVE RESULTS FROM FUNCTION <YourFunMod>
    *    TABLES
    *      <if export data/tables in funmod>
    *    EXCEPTIONS
    *      nodata    = 1.
      SUBTRACT 1 FROM nbr_tasks.
    ENDFORM.
    Regards

  • Why did running image processor in CS6 lose all changes to CR files?

    I am a creative cloud subscriber. I made and saved changes to my Camera Raw files in CS6. On running image processor these changes have all been lost.
    Can you help?

    no it opens up fine.
    if I open it up in the Windows File Explorer, it opens fine as well, and it says it is a jpg.
    In File Explorer it shows that it is a jpg. It also shows the WxH for some jpg's, and not others. The files that PS processor ignores are the same files that windows file explorer does not show the WxH.
    In other words, I believe they are jpg files, but maybe not including certain profiles or something. Is there a batch command using bridge or something where I can simply open these files, and then save them as true jpgs?

  • How to create and validate a vi to run or not without actually loading it in memory

    Hi,
        i want to run or skip running a sub vi based on an input. But my requirement is i don want the sub vi to be actually loaded in memory if i don want to run it just to avoid unnecessary usage of memory. how do i achieve this or which is the efficient way to do this.
    Regards
    Jay

    Hi there
    if you pass the name of the VI as a string data type the "Open VI reference" function will return a reference only if the VI is already in memory. If you pass the name or the path as a path data type the function will return a reference to the already loaded VI and will load the VI to memory if necessary.
    So use just the name of the VI as a string. This will solve your problem.
    Refer to the LabVIEW help for the "Open VI reference" function for details.
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • MacBook Pro with Yosemite 10.10.4 running hot and slow. HP file is hogging all the memory

    My MacBook Pro (late 2011, core i-7) running OS X 10.10.4 is running hot and very slow with the fan screaming .  Activity Monitor shows a process called com.hp.devicemodel.TransportProxy is hogging almost all the memory and very high CPU activity.  How can I get it to stop.  Force quit will not shut it down.  I would delete the file, but don't know where it is.  Can someone please offer some help? Thanks, Tom

    Try to uninstall all HP software (should be in Macintosh HD/Applications/HP folder  It should have an uninstaller within that folder.  My computer settled down just as soon as I finished the uninstall.  Went back into the system preferences and reinstalled my printer and everything seems OK now.  Hope it works for you.

Maybe you are looking for