01-17-2011 08:00 PM
My cRIO runs in FPGA mode. I created a FPGA VI which scans all available IOs in a while loop.
On my main VI, it opens the FPGA reference and reads the IOs in a while loop. I read this error from the console out.
-> 0x181c8d8 (Main Application Thread): memPartAlloc: block too big 602520 bytes (0x10 aligned) in partition 0x37e360
What's causing this?
Thanks in advance!
01-18-2011 07:09 AM
Which cRIO are you using and what modules are installed? What version of Labview software? Can you post your code?
01-18-2011 09:21 AM
I'm using cRIO NI - 9012. with 60+Mb memory.
From my findings, with the full software package install, i'm only left with 6+Mb memory to work with. Therefore, i un-installed all software components that are not required, which in turn increase the free memory to around 50%, ~30+Mb. AND everything works fine.
Anyhow, thanks for the reply.
I'm wasn't aware that LV software consumed so much memory. My Bad.
01-18-2011 09:30 AM
You may still want to take a hard look at your code to see if it can be modified to reduce its memory requirements.
04-06-2011 12:09 AM
I did a simple test; have a clean 9012 installed with the software and not running any application. Below are the screenshots of the MAX and System Manager. The figures don't seem healthy at all.
04-06-2011 06:41 AM
Are you using shared variables? If so how many and what kinds of data types?
04-06-2011 09:40 AM
In my last post, i just used a 9012 with only NI software installed. I didn't run any of my application.
FYI, i did a memory profile on my application. They are negligible: < 6kb.
As for mem leak, i did 2 steps, first i capture the RT execution trace and found no dynamic mem alloc, secondly i test ran my app overnight and log the system variables, eg CPU util and memory consumption.
Lastly, i uninstalled most NI software and was able to get ~12MB of memory.
Just wanted to share my experience. Cheers! 😄
Hope this helps!
04-06-2011 02:38 PM
Hi
What modules have you populated the chassis with?
Which chassis is connected?
What software is loaded on the RT?
Regards
xseadog
its the questions that drive us
04-06-2011 08:57 PM
This chassis \that i'm using is cRIO 9111
Modules: 9425, 9205
I only installed, LV RT, VISA (Serial & USB), Scan Engine, RIO, Network shared variables and other depencies.