How to change the ANTS temporary folder

Code profiling for .NET Developers

Moderators: Luke Jefferson, StephenC, Alex.Davies, AndrewH, melvyn.harbour, Laura Morley

How to change the ANTS temporary folder

Postby mike joe toon » Tue Nov 29, 2011 6:21 pm

Hello,

I am having difficulties running long term tests with ants due to the restrictions on the space of my C drive where the temporary files are stored in the AppData folder.

I have tried changed the TMP and TEMP environment variables, however the 20 MB temp data chunks still gets in the AppData folder.

Is there anyway i can get ANTS to store the temporary files to another drive which has more free space available? Failing this is there anyway i can schedule the ANTS profiler to stop after a specified duration?


Cheers in advance,

Mike Toon.
mike joe toon
 
Posts: 1
Joined: Tue Nov 29, 2011 6:14 pm

Postby AndrewH » Wed Nov 30, 2011 11:56 am

There are two variables that control where ANTS puts its data: RGTEMP and RGIISTEMP. RGIISTEMP only applies to IIS sessions, and RGTEMP applies to everything.

We don't use the standard temporary directories as this wouldn't work for a lot of profiling scenarios where the target process is running as a different user to the profiler UI. Note that if you do set the temporary directories yourself, you will also have to manually set the permissions for profiling these kinds of application (Windows services and IIS in particular)
Andrew Hunter
Software Developer
Red Gate Software Ltd.
AndrewH
 
Posts: 134
Joined: Thu Aug 17, 2006 3:44 pm


Return to ANTS Performance Profiler 6

Who is online

Users browsing this forum: No registered users and 0 guests