progor Posted August 10, 2005 Report Share Posted August 10, 2005 Hello. I have problem with my VI - simulation of computer network. When I'm doing my simulation for too many stations (for 100 is OK, but for 1000 i have a problem) I get an error: LabVIEW: Memory is full. VI "simulation.vi" was stopped at Loop Tunnel 0xC38 of subVI "simulation.vi" It starts well, but finally my computer (only 256MB RAM, virtual memory: max=4095) is run out of memory. I need to simulate it for at least 5000 stations and 1000000 iterations. Does anyone know how to solve this problem? I will be honesty thankfull... _____ progor Download File:post-2324-1123672562.llb Quote Link to comment
jpdrolet Posted August 10, 2005 Report Share Posted August 10, 2005 There is no data dependency between iterations so you seem to keep ALL data in memory when you don't need to. You should write data on file at each iteration of the main for loop and not build arrays of data to be written on file later. Quote Link to comment
progor Posted August 11, 2005 Author Report Share Posted August 11, 2005 Thanks a lot. It works now. :worship: I will be think about not making so huge arrays without cause. GoodBye Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.