Hi,
I have a project where I launch many actors, do some computation, send messages from one half to the other half and stop all.
I put this in a loop with appropriate delay between start and stop to measure memory usage. I compiled an executable and monitored the memory consumption (of that executable). Until now it seems to run fine, using constant memory.
The executable in more detail:
- launches a controller actor
- controller launches 300 A and B actors, initializing A actors also with a random number written to private data (to make sure the initialized actor is not the same as any previous:) )
- A actors send 100 messages to B actors
- stop controller
- controller stops A and B actors
- loop starts again
I include the performance (CPU, memory usage,I/O) graph (got it using Process Explorer):
P.s.: I plan to let it run, and will post the performance graph later also.