Thanks for using our products.
System.IndexOutOfRangeException is a very generic error and I am afraid its little difficult to figure out the actual cause of this problem. Can you please share some code snippet/sample project so that we can test the scenario at our end. We apologize for your inconvenience.
Also please share which version of Aspose.Pdf for .NET you are using.
I was unable to reproduce the issue and will not be able to put together a repro. Please consider the issue closed unless further troubleshooting information becomes available.
As you have specified in your first post that you are using Aspose.Pdf for .NET 4.0.0 and getting this exception message. So can you please try using the latest release version of Aspose.Pdf for .NET 4.7.0 (available over here) and see if it can resolve your problem. Since the release of v4.0.0 to this latest version, there have been many changes and improvements in terms of Memory management.
In case you still face any problem or you have any further query, please feel free to contact. We apologize for your inconvenience.
Well I can tell you this is not solved in 4.7.0!!!!!
I'm sorry to say but it looks like all wheels fell of the pdf component.