Giter Club home page Giter Club logo

Comments (5)

SteveGilham avatar SteveGilham commented on July 3, 2024

The compression used in the visit file format means there can be a lot of visits per output byte if there are repetitive patterns.

As a work-around, if you are interested only in "did I visit this place?", rather than "how many times did I do so?", the --single command line option can significantly reduce the amount of data being processed.

from altcover.

megerlms avatar megerlms commented on July 3, 2024

Indeed, I tried this option already. Unfortunately I could not mention any difference.
The calls I do use are....

...for instrumentation:
$ALTCOV --single -i $WORKING_DIR -o $WORKING_DIR/instr/ -s xunit* -s ${TEST_ASM:0:-4} -s AWS*

...for running:
$ALTCOV Runner -x mono -c coverage/${TEST_ASM}.cort.xml -r=${WORKING_DIR}/instr/ -- $XUNIT ${WORKING_DIR}/instr/${TEST_ASM} -xml ./testresults/${TEST_ASM}.tests.xml

Note:
$ALTCOVER points to the altcover executable
$XUNIT points to the xUnit executable

from altcover.

SteveGilham avatar SteveGilham commented on July 3, 2024

I'll have to do some more investigation to see if I can find why --single seems to have no effect for you. In the mean time, pre-release build 656 contains a change that should mitigate the memory use for the intermediate processing, where the stack trace is indicating.

Could you give that a try?

from altcover.

megerlms avatar megerlms commented on July 3, 2024

I was some days occupied by other stuff, I will give it a try.

from altcover.

megerlms avatar megerlms commented on July 3, 2024

I tried the new release 659 and the exception didn't appear. Also the --single option seems to work.
Thanks for the quick fix!

from altcover.

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.