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

Have 194GB available, yet I need to change TEMP to drive with at least 0 MB free space #35

Open
MissYeh opened this issue May 15, 2024 · 3 comments

Comments

@MissYeh
Copy link

MissYeh commented May 15, 2024

How much space does wslcompact need to work its magic? 0MB required but I have 194GB free space available.

Current size: 317966 MB
Estimated size: 270379 +/- 6595 MB
The estimated process time using an SSD is about 66 minutes.
WARNING: there isn't enough free space in temp drive C to process Ubuntu-22.04.
There are only 198738 MB available.

Please, change the TEMP folder to a drive with at least 0 MB of free space.
You cand do it by typing $env:TEMP="Z:/your/new/temp/folder" before using wslcompact.

2024-05-15

I've used this successfully last year. Today I updated it and now this. Don't know if it's because of the update.

@MissYeh
Copy link
Author

MissYeh commented May 15, 2024

I found the answer to how much space is needed,

$sf = 1.05
...
if (($estimated * $sf) 

So in my case I need 283898. I already uninstalled most big things and can't remove more. So,. an external drive it is.

# There is enough free space in the TEMP drive or a data image.

@tlevyaleia
Copy link

Hello @MissYeh
I have the same issue than you with: "Please, change the TEMP folder to a drive with at least 0 MB of free space"!

image

How do you manage to know the real free space needed?
Else any advice from the others?

Thanks

@MissYeh
Copy link
Author

MissYeh commented Jun 17, 2024

@tlevyaleia I found how much space is needed in this file:
($estimated * $sf)

if (($estimated * $sf) -lt ($freedisk / 1MB)) {

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

2 participants