
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Failed to copy file ... Error recording a Java Applet using Java over HTTP protocol
Hello,
I have an applet that I need to record using the Java over HTTP protocol. The applet communicates via the HTTPHeader Stream Format Class with the server.
I have tried this with LR 11 SP 4 installed on Windows 7 Professional 32 bit (following the instructions from teh KB article I have also replaced the Vugen.exe) BUT i cannot enable the 3GB switch - it is not allowed within the company.
I have also got a 64 bit Windows 7 with LR 11 (SP4 does not install) having the smae issues.
I have raised this with HP support (through our partner) but have not got any further.
What else can I do?
Thanks
Bernhard

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
You may need to speak with your IT deparment as this, as far as I know, is the only way to get this to work.
Regards,
Mario
If you are customer you can try posting on our internal forums for more personalized support.
LoadRunner:
http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/bd-p/loadrunner-support-customer-forum
Performance Center:
http://h30499.www3.hp.com/t5/Performance-Center-Support/bd-p/performance-center-support-customer
How to:
http://www.youtube.com/watch?v=4ChlysWupWM
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
To address the issue you can introduce the environment variable _JAVA_OPTIONS with value -Xms10M -Xmx20M to vugen.exe process (e.g. via batch file in LR\bin dir
set _JAVA_OPTIONS= -Xms10M -Xmx20M
vugen.exe
)
It will override default JVM memory ergonomics and will help to squeeze JVM into vugen process, which is rather fragmented to find continuous free memory for JVM heap (fragmentation is the reason of the error). Keep in mind that the variable will also inherited by child processes and will affect JVMs if there are any. During JOH (java over http) recording it will affect IE and underlying JVM which runs applet
Maybe even better workflow would be to record script with having "failed to copy" and then restart vugen via batch file, reopen script and regenerate it.
You can play with values of Xms and Xmx (-Xms50M -Xmx100M worked for me)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
thank you very much for your post. We have tried various combinations, but so far there was no improvement to the situation.
We will start with a new machine and install from scratch and see how this goes.
This will take a while but I'll update you if this helped.
Thanks
Bernhard