DWG to SVG conversion is failing in LInux environment using aspose library

Hi @oleksii.gorokhovatskyi ,

  1. Unfortunately, we are not able to share the original file, but I am sharing the screenshot of file where text are overlapping.
    Please check if this the issue of conversion failure and how it can be fixed.

  2. Regarding Heap memory optimization, please suggest how we can optimize the code.
    Please suggest, how much memory we need to allocate to the server, so that if at least 5 users
    are doing the DWG to SVG conversion at same, that should not affect the process.

    I have attached sample code in the attachment.

  3. Is there any DWG file size limit defined from Aspose side for DWG to SVG conversion, so that user can upload from UI, that can be helpful in successful conversion

Nov25_aspose.zip (92.0 KB)

@shivanandtripathi,

  1. I’m afraid we are not helpful here, we can not guess or detect the issue by screenshot as well as recommend something. The issue may appear not because of this text, it may appear because of internal processing of some font and other reasons during processing the file.

  2. You code is fine, high quality hatches and precision may require more time and memory compared to the default settings. Memory consumption depends on the complexity of the file, number of entities in them, e.g. number of hatches or other factors. If some specific files require too much time for loading/export, we may investigate them to see the reason directly and try to improve performance.

  3. There is no DWG file size limit.