Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO error

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

 

-> 0x181c8d8 (Main Application Thread): memPartAlloc: block too big 602520 bytes (0x10 aligned) in partition 0x37e360

 

What's causing this?

 

Thanks in advance!

0 Kudos
Message 1 of 9
(5,260 Views)

Which cRIO are you using and what modules are installed?  What version of Labview software?  Can you post your code?

0 Kudos
Message 2 of 9
(5,251 Views)

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. 

0 Kudos
Message 3 of 9
(5,246 Views)

You may still want to take a hard look at your code to see if it can be modified to reduce its memory requirements.

0 Kudos
Message 4 of 9
(5,244 Views)

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. 

 

9012.png

 

9012.png

0 Kudos
Message 5 of 9
(5,095 Views)

Are you using shared variables?  If so how many and what kinds of data types?

0 Kudos
Message 6 of 9
(5,093 Views)

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!

0 Kudos
Message 7 of 9
(5,091 Views)

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 usSmiley Tongue

0 Kudos
Message 8 of 9
(5,074 Views)

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.

0 Kudos
Message 9 of 9
(5,067 Views)