This issue describes about the PermGen size problem with TCPProxy generated script.
However there are no ways to determine necessary permgen size before running a script.
Best solution for this case might be for user to configure the necessary permgen size by themselves.
Already ngrinder has the feature to refer the user defined grinder.properties in the same folder where a script exists.
Let user define grinder.memory.permsize and grinder.memory.maxpermsiz there.