我已閱讀下列主題: Should one call .close() on HttpServletResponse.getOutputStream()/.getWriter()? 但如果我用以下結構: ZipOutputStream zos = new ZipOutputStream(response.getOutputStream());
我應該將其關閉或容器將做到這一點,而不是我?
爲什麼堆沒有理由上漲?如果你說使用gc,我仍然想知道爲什麼要上去? 這裏是我的代碼: public class GameCore extends ApplicationAdapter {
SpriteBatch batch;
Texture texture;
StopWatch sw = new StopWatch();
long current, held