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

"Not enough memory resources are available to complete this operation" #22

Open
doremyy opened this issue Dec 8, 2023 · 5 comments
Open
Labels
bug Something isn't working high difficulty This can take a lot of time and effort and is extremely difficult

Comments

@doremyy
Copy link

doremyy commented Dec 8, 2023

i've been facing this strange error during my experience in using LSTGSub. It did not exactly happen before, but it's a prevalent issue ever since, and it prevents me from loading my projects and testing what I have created. even just lauching the vanilla LuaSTGSub.exe to see the demo mode, the same error is given to me. my laptop specs are included in the engine.log file attached.

engine.log

@Demonese
Copy link
Contributor

Demonese commented Dec 9, 2023

This looks strange, it may be an AMD graphics card driver issue. You can try configuring LuaSTGSub.exe to use NVIDIA dedicate graphics card in the Windows settings (System - Display).

@doremyy
Copy link
Author

doremyy commented Dec 9, 2023

I configured it to use the NVIDIA GPU, and it seems to at the very least fix the engine being unable to initialize. The issue is still prevalent in some other cases, indicated by this log which was produced after the engine froze when trying to test a spellcard.

engine.log

Is it an issue that AMD has to fix on their end? Or is there some sort of compatibility issue that lua has?

@Demonese
Copy link
Contributor

The issue is still prevalent in some other cases

Yes, the problem now is not enough memory. The graphics card works normally.

Currently, the executable file of LuaSTG is 32-bit, so the available memory is limited to 2GB, even if the host has a large amount of available memory. However, other people in our community rarely see the problem of not enough memory.

If create a new blank spellcard project, can it run normally?

@Demonese
Copy link
Contributor

I compile a new executable. You might try this, although it may not solve your problem
(preview) LuaSTG-Sub-v0.20.16.zip

@doremyy
Copy link
Author

doremyy commented Dec 10, 2023

it does not solve my issue, even with the new executable. other spellcards that i have created work just fine, so i wonder if it's a particular issue with what i've created...

edit: it was an issue on my spellcard! however, i'm still wondering if something should be done about the original issue with AMD graphic cards.

@Demonese Demonese pinned this issue Dec 11, 2023
@Demonese Demonese added bug Something isn't working high difficulty This can take a lot of time and effort and is extremely difficult labels Dec 11, 2023
@Demonese Demonese unpinned this issue Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high difficulty This can take a lot of time and effort and is extremely difficult
Projects
None yet
Development

No branches or pull requests

2 participants