ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Release called class from memory

Hello is there any ways or vis that release called classes from memory

0 Kudos
Message 1 of 33
(1,472 Views)

Try View All VI's in Memory and Their Execution State

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 2 of 33
(1,444 Views)

@D1140 wrote:

Hello is there any ways or vis that release called classes from memory


This feels like a question that isn't the root of the problem.

 

What are you REALLY having a problem with?

 

  • Running out of RAM?
  • LabVIEW 32-bit exceeding its 32-bit memory space limit even though you have plenty of RAM?
  • Loading a class into memory that is broken, and it leaves all sibling classes also broken even if you aren't using the broken one?
  • Wanting to replace a class in memory with a different class on disk with the same name?
  • Something else?

If you post the actual problem you have, rather than what you think is a solution that you can't find, then other solutions may be presented.

0 Kudos
Message 4 of 33
(1,406 Views)

even though closing vi it stays in memory.

CommandsMain.lvlibp:CommandsMain.lvclass:401_sdio_BuildCommands.vi

this is the path which stays in memory and its class from ppl

0 Kudos
Message 5 of 33
(1,377 Views)

@D1140 wrote:

even though closing vi it stays in memory.

CommandsMain.lvlibp:CommandsMain.lvclass:401_sdio_BuildCommands.vi

this is the path which stays in memory and its class from ppl


OK, so it's a class from a packed library.

 

How is it being loaded into memory?

 

And this is the really important question...

Why is it a problem if it stays in memory?

0 Kudos
Message 6 of 33
(1,345 Views)

I am Facing crashing issues because of that

0 Kudos
Message 7 of 33
(1,342 Views)

@D1140 wrote:

I am Facing crashing issues because of that


How exactly does the class just existing in memory cause crashing issues?

 

DETAILS!

0 Kudos
Message 8 of 33
(1,338 Views)

I want to release the class once called because I have to update plugin during run time. While the ppl in memory I am not able to build it. And getting crashed.

0 Kudos
Message 9 of 33
(1,332 Views)

@D1140 wrote:

I want to release the class once called because I have to update plugin during run time. While the ppl in memory I am not able to build it. And getting crashed.


This is my best guess to what you are doing:

 

  • You are running some program in the dev environment.
  • This program loads a plugin
  • You do something with the plugin which isn't working, so you want to make code updates to it
  • You make changes in dev to the plugin's source code
  • You then want to rebuild the lvlibp and reload the plugin, all the while without having to shut down the main program
  • LabVIEW won't let you because the lvlibp is in use

Is this an accurate description of what's going on?

0 Kudos
Message 10 of 33
(1,325 Views)