LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

70879003 Error Code: Unable to lock memory chunk.

Solved!
Go to solution

Hi guys,

I am trying to build a program to run on a touchscreen windows CE system and have tested the majority of the individual components to see that they work on the system and they all succeed, however when I build and try to run the entire program I am presented with a popup box saying:

 

App Failed. Error Code 70897003. Unable to lock memory chunk.

 

The program then shuts down completely.I have tried searching the forums and the web but this specific error code is not mentioned anywhere and the information I have been able to find about Unable to lock memory chunk errors has not been very helpful with how to go about resolving this problem.

Any suggestions or help would be much appreciated.

0 Kudos
Message 1 of 9
(4,180 Views)

Are you trying to allocate some big array? Sounds like too big allocation problem.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 9
(4,162 Views)

Sorry for the slow reply I was pulled away on another project for a bit, but no, there are no large arrays, depending on your definition of large.

 

When the program initialises there are 5 20 item arrays, but when I remove the rest of the program and just run the initilisation stage it works fine even with the arrays included. After the initilisation portion it then enters into a large event structure and I have been trying to narrow down where the problem could be present, but any help to try and narrow down the regions of interest would be useful.

0 Kudos
Message 3 of 9
(4,124 Views)

ogk.nz,

 

Is that error code something pops up in LabVIEW or is this a Windows error code?

 

Regards,

 

Ryan

Ryan P.
CLA
0 Kudos
Message 4 of 9
(4,104 Views)

Given the inability to find the error code in reference anywhere on the internet or forums I'm not 100% but the  error code bears similarities to similar errors that have been presented to other labview users who have had their problems resolved. I talk about the "Unable to lock memory chunk" which seems to be a labview phrase. I keep getting pulled away on other projects so I haven't had much time to strip the code back but I don't believe it to be a memory size issue so when I have available time I am slowly strippin sections of code out of the event structure in the hope of finding the culprit function that is not allowed in either touchscreen or CE.

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

Does your code contain any blinking property nodes for any of your controls (such as LEDs)? I have found some other instances in the past where using these on Windows CE devices have caused this error to occur.

Ryan P.
CLA
0 Kudos
Message 6 of 9
(4,072 Views)

There are no property nodes involved in the program at all anymore, I used to have some but they would not allow the code to compile at all so I removed them and made do. Aftter removing them the code compiles/builds correctly but will simply not run because of the error.

0 Kudos
Message 7 of 9
(4,069 Views)

How large is this code set? Is it something you could attach for us to look at?

Ryan P.
CLA
0 Kudos
Message 8 of 9
(4,055 Views)
Solution
Accepted by topic author ogk.nz

Ok, So I have resolved the problem myself, turns out it is not a back end problem at all, in my front panel I had accidentally overlapped 2 Tab Controls resulting in one being placed inside the other. Move them so they are not stacked and the problem is resolved.

 

So moral of the story if anyone gets this error in future, check your Tab Controls are not overlapping/stacked.

0 Kudos
Message 9 of 9
(4,041 Views)