下面是我的代码, 有什么办法减少内存使用,或者可以设置超过多少内存,就到磁盘处理,不然这个根本没法使用,一点就内存溢出了
public synchronized Path doCadToPdf(InputStream inputStream, String outputFilePath) throws IOException {
Path outputPath = Paths.get(outputFileP…...stl文件转成pdf ,内存飙到了11G,这个吃内存太厉害了,很容易导致内存溢出...converting a large .stl file to PDF is likely due to the size and...