Exception in thread "dispatcher-event-loop-1" java.lang.OutOfMemoryError: Javaheapspace.....ERROR Utils: Uncaught exception in thread driver-heartbeater.....
p
我在我的程序中使用HashSet,随着集合的增长,我得到了错误"Exception in thread "main“java.lang.OutOfMemoryError: Javaheapspace我有32位操作系统和44Gb内存。JVM不能分配超过1500Mb的eclpse中的VM参数。在这种情况下该怎么做?