do not run a gc after creating a plot

the gc often takes a second or more, which slows down the rendering a
lot
This commit is contained in:
ahr
2018-03-11 16:25:52 +01:00
parent caf400343e
commit 181fce805d

View File

@@ -88,7 +88,6 @@ public class PdbController implements HardcodedValues {
final String imageUrl = WEB_IMAGE_OUTPUT_PATH + "/"
+ result.getImageName();
LOGGER.trace("image url: {}", imageUrl);
System.gc();
return new PlotResponse(
DataSeries.toMap(result.getDataSeries()), imageUrl);