Code Monkey home page Code Monkey logo

Comments (3)

akoeplinger avatar akoeplinger commented on August 20, 2024

I see the same behavior! Now I know why my VM is running out of disk space ๐Ÿ˜„

I debugged into the task and found out that in ResolveNuGetPackages.cs#L221 a new temp folder is generated with the package contents each time this line is executed. I suppose it tries to read the manifest and somehow inadvertently extracts the package file to disk instead of reading it in memory.

The ManifestDeclaration class is in the NuGet.NuManifest package, which shows @terrajobst as the author, but I can't find the source code online anywhere.

/cc @terrajobst @weshaggard please take a look

from buildtools.

eatdrinksleepcode avatar eatdrinksleepcode commented on August 20, 2024

FYI I have a fix for this that I will be posting shortly.

On Mar 15, 2015, at 1:32 PM, Alexander Kรถplinger [email protected] wrote:

I see the same behavior! Now I know why my VM is running out of disk space

I debugged into the task and found out that in ResolveNuGetPackages.cs#L221 a new temp folder is generated with the package contents each time this line is executed. I suppose it tries to read the manifest and somehow inadvertently extracts the package file to disk instead of reading it in memory.

The ManifestDeclaration class is in the NuGet.NuManifest package, which shows @terrajobst as the author, but I can't find the source code online anywhere.

/cc @terrajobst @weshaggard please take a look

โ€”
Reply to this email directly or view it on GitHub.

from buildtools.

weshaggard avatar weshaggard commented on August 20, 2024

It looks like the temp caching is happening in https://github.com/Haacked/NuGet/blob/9f25709fafb0d8e8fc2a3b34c1b77a1cb4b8a539/src/Core/Packages/OptimizedZipPackage.cs. So it would appear that @eatdrinksleepcode fix should work nicely for this issue.

from buildtools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.