I have three scripts that I run concurrently from a conductor session and each script had been amended which has required the introduction of additional variables.
I have used the 'malloc' command with some of the variables but made sure they have a corresponding 'free' associated with them.
When I run the scripts for 1 user the memory usage remains constant within the player agents, however, when I increase the users there is a noticeable increase in the memory usage as the test progresses.
Could someone tell me,
does this indicate a problem with my scripting,
could it be pointing to an application fault
or something else I should consider.
If you saying as you increase the VU, the total memory increases, this would be expected. The memory should increase linearly proportional to the number of VU.
But if you are saying the memory _per_ VU increases as you increase the total # of VU, that shouldn't happen (for the most part).
I don't think you have to mess with malloc/free type stuff for these scripts. I don't and I never have weird memory issues yet. Isn't malloc more for buffer type vars? QARun should handle the buffering for you...
A problem is a difference between what is perceived and what is desired, that
we want to reduce (Dewey 1933)