﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3646	Simulation executables of large models quickly run out of memory	Francesco Casella	somebody	"When running simulation of large models, the memory allocated by the simulation process on the heap grows disproportionally. 

For example, the simulation of a large test model of a power network (435 MB of code size) eventually generates about 4.8 GB of result data, which is reasonable as long as it is stored on mass storage.

Unfortunately, the simulation process allocates over 40 GB of RAM in the process, which is not acceptable. Results should be just dumped onto the .mat file (preferably by a dedicated thread running on a different CPU!) without taking any RAM at all, besides some reasonable buffer space.

This can also be a problem for smaller models running longer simulations, in particular if there are many events resulting in a large number of steps."	defect	closed	critical		Run-time		fixed		
