Hi,
Which LoadRunner version are you using?
How many vusers are you running?
Regardless of my previous questions, the following steps may help:
Please add JavaOOMThreshold=400000 under the [Flex] section on your script's default.cfg.
Please make sure that FlexJvmParams=-Xmx2048m is also defined under the [Flex] section on your script's default.cfg.
Regards,
Roy