Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Godbert] ImageConverter.cs has System.OutOfMemoryException when export a model with 2k image #178

Open
ecyxb opened this issue Apr 4, 2024 · 0 comments

Comments

@ecyxb
Copy link

ecyxb commented Apr 4, 2024

When I try to export the m0640 model (Boss for e8s) at Godbert, it runs for a long time without ending.
After that I compiled and ran Godbert locally and found that the program threw an OutOfMemoryException at ImageConverter.cs-line 136(fuction GetA8R8G8B8).The reason is to new a byte array of length 2048*2048*4
At the time the exception was thrown, my computer still had fairly free memory. I'm not familiar with the .Net, so I've tried some solutions, including compressing space and GC, allowing the opening of Objects larger than 2G, but none of them work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant