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

[BUG] Win32Exception (8): Not enough memory resources are available #468

Open
Hofknecht opened this issue Mar 1, 2023 · 5 comments
Open

Comments

@Hofknecht
Copy link
Owner

Hofknecht commented Mar 1, 2023

U serlinger reported:
System.ComponentModel.Win32Exception (8): Not enough memory resources are available to process this command. at System.Drawing.Icon.Initialize(Int32 width, Int32 height)

Jon R. reported:
System.ComponentModel.Win32Exception (8): Not enough memory resources are available to process this command. at System.Drawing.Icon.Initialize(Int32 width, Int32 height)

&

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ComponentModel.Win32Exception (8): Not enough memory resources are available to process this command. at System.Drawing.Icon.Initialize(Int32 width, Int32 height) at System.Drawing.Icon..ctor(Stream stream, Int32 width, Int32 height) at System.Drawing.Icon..ctor(Stream stream) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1

@Hofknecht Hofknecht added this to the 1.4 milestone Mar 1, 2023
@Hofknecht Hofknecht added this to Analyze / Spec in STM 1.4.0 via automation Mar 1, 2023
@Hofknecht
Copy link
Owner Author

we asked both

Hello,

Thank you for the feedback!

we created a issue here:

#468

I don't think we can fix this directly, I tagged it once with 'help wanted'.
Did that happen again? How much ram does your pc have? How long was the STM running and what were you doing before it happened? Are there any number of items involved or a specific behavior? We can't reproduce this yet.

Regards

Markus

@Hofknecht
Copy link
Owner Author

we got directly a answer, see here

Markus,

Honestly, I don’t remember any of the things I was doing before and after the STM acted up.  It happens now and again but I don’t think since the time I reported it in December.  The computer hardware info is in the snip below.

STM is really handy and cuts down a bunch of time that it takes navigating through File Explorer.  I use it extensively.

: )

ok good to hear that this error is rare
ram was ~ 16gb

needs further analyze

@Userlinger
Copy link

Hi, i have 32 gigs of ram. It occurred when checked the "recursive" box on a huge folder (17gig over 100.000 files). I could reproduce it back then (i tried twice). The error never occurred on everyday usage.

btw thanks for creating STM. I had a similar thing in mind for myself and you saved me from trying to build it :)

@Hofknecht
Copy link
Owner Author

was reported once more from Jonny F. in v1.3.3:

System.ComponentModel.Win32Exception (8): Zur Verarbeitung dieses
Befehls sind nicht genügend Speicherressourcen verfügbar. at
System.Drawing.Icon.Initialize(Int32 width, Int32 height) at
InvokeStub_Icon..ctor(Object, Object, IntPtr*) at
System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args,
BindingFlags invokeAttr)

@Hofknecht
Copy link
Owner Author

Hofknecht commented Sep 23, 2023

via mail:

SystemTrayMenu Bug reported 1.3.5.0
System.ComponentModel.Win32Exception (8): Not enough memory resources are available to process this command. at System.Drawing.Icon.Initialize(Int32 width, Int32 height) at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Sent from Mail for Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
STM 1.4.0
  
Analyze / Spec
Development

No branches or pull requests

2 participants