Java Heap Space Problem
I am actually not a Java user but an R (statistical programming language) user. I use an R package which writes output
to Excel sheets. The package uses Java to link between R and Excel. When we used the package to write our data to Excel
R recently started to throw errors which after doing several tests we traced back to the java heap space.
Our question is now whether it is possible to clear/empty/reset the java heap space using java on the command line or by
starting an external programme? It is possible to start external programmes within R. So in case it would be possible to
clean up the java heap space we basically could write a little script which we could start from R to fix our problem.
Any help is very much appreciated.