ni.com checkout is currently experiencing issues.

Support teams are actively working on the resolution.

Actor Framework Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory profiling in AF

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):

14-11-2013 11-14-32.png

P.s.: I plan to let it run, and will post the performance graph later also.

0 Kudos
Message 11 of 11
(721 Views)