下面是我的代码, 有什么办法减少内存使用,或者可以设置超过多少内存,就到磁盘处理,不然这个根本没法使用,一点就内存溢出了
public synchronized Path doCadToPdf(InputStream inputStream, String outputFilePath) throws IOException {
Path outputPath = Paths.get(outputFileP…...点就内存溢出了 public synchronized Path doCadToPdf(InputStream inputStream...throws IOException { Path outputPath = Paths.get(outputFilePath);...