Free Support Forum - aspose.com

Add Image in XPS Document using Aspose.Page - memory consumption issues

How to use the aspose api to control and manage this memory when processing business? I found that when using the idea tool to add watermarks to XPS files, the amount of memory used will reach 10GB. My personal computer is 64GB. If our application design (Java development) uses 4GB, then processing XPS (larger than 100 pages) of large files will easily cause memory overflow problems.

@wanyangye,

Thanks for contacting support.

Can you please share source files along with sample project so that we may further investigate to help you out. Also please share complete environment details with us.

Sorry, that file is too big (maximum size is 50000kb). Why not upload your large file to a cloud sharing service, then paste the link?

@wanyangye

You can surely upload file to some file sharer and share the link with us.

I have sent the link to Adnan.Ahmad as a short message, please help to see it.

@wanyangye,

Thank you for contacting support.

We have reproduced and logged the error as PAGEJAVA-84 in our issue management system for further investigations and resolution. We will let you know once any update will be available in this regard.

PAGEJAVA-84】Is there any new progress on this issue?

@wanyangye,

I like to inform that issue has been added recently in our issue tracking system and we request for your patience. We will share good news with you soon.

It’s almost half a month. Is there any new development?

@wanyangye

The ticket was logged 8 days ago under the model of free support where issues have low priority and are resolved on first come first serve basis. Due to other issues in the queue, we are afraid that this ticket is still pending for analysis. We will surely let you know as soon as we make some certain progress in its investigation. Please give us some time.

We are sorry for the inconvenience.

Whether this bug is resolved.

@wanyangye

We are afraid that your issue is not yet resolved. We have recorded your concerns and will definitely consider them during issue investigation. We will let you know in case we have some additional updates. Please spare us some time.

We are sorry for the inconvenience.

Whether to resolve.

@wanyangye

We would like to share that your issue has been resolved and its fix will be available in Aspose.Page for Java 20.1 which will be released in this month. We will surely notify you as soon as fix is available.