下面是我的代码, 有什么办法减少内存使用,或者可以设置超过多少内存,就到磁盘处理,不然这个根本没法使用,一点就内存溢出了
public synchronized Path doCadToPdf(InputStream inputStream, String outputFilePath) throws IOException {
Path outputPath = Paths.get(outputFileP…...CAD library processes the entire file in memory...strategies: Use Streamed Processing : Instead of loading the...