-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
IDE crashes on startup on systems w/ temp folder on RAM drive #2561
Comments
I was able to "solve" this issue by temporarily changing the TEMP env variable to a different drive. |
Have you tried formatting the Ram disk as NTFS?
Note: I use Linux so the above was just a google search for "imdisk ntfs" |
I tried it a long time ago but there were more problems with NTFS. I don't recall what they were but I would have used it instead if it worked right. Some other apps I use for other things fail also. E.g., if I use a recycle app to delete files to the recycle bin it will fail since obvious it doesn't exist on the drive. The workaround works fine for me so I'll just keep using that. |
Describe the problem
Arduino IDE crashes on startup when the operating system is configured to use a RAM drive for the system temporary folder location.
To reproduce
🐛 The IDE crashes on startup. The following error is shown in the terminal logs:
Expected behavior
Arduino IDE can be used on systems that are configured to use a RAM drive for the temporary folder.
Arduino IDE version
nightly
Operating system
Windows
Operating system version
11
Additional context
I created the RAM drive using ImDisk.
The reason is, of course, even though I have 128GB of memory apps love to thrash the drives temp files so I use ramdisk to avoid this and it typically speeds up some applications.
This technically may be an issue with ImDisk or with node or whatever Arduino uses.
E.g., every once in a while I have an issue with some apps not working well with the temp dir being on a ramdisk. E.g., some recycle programs do not work well because the drive is not NTFS (does not contain a $recycle dir).
There technically should be no reason it shouldn't work though. I use thousands of programs and almost all work fine (from more complex apps like various IDE's to graphics apps to whatever).
Related
Issue checklist
The text was updated successfully, but these errors were encountered: