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

vprof memory blowout #54

Closed
ResidentMario opened this issue Jun 25, 2016 · 1 comment
Closed

vprof memory blowout #54

ResidentMario opened this issue Jun 25, 2016 · 1 comment

Comments

@ResidentMario
Copy link

Hey, I ran this library's profiler on my Mac OSX on a fairly simple apriori algorithm I wrote. It ate up all of the space on my disc and crashed the browser.

But the cool visuals in the repo pictures are clearly of the same order of magnitude in computation, so...what's up with that?

I've posted the code to an example repo for reproduction. Python version is 3.5. The file of interest is vprof.ipynb.

Thanks for your help!

@nvdv
Copy link
Owner

nvdv commented Jun 28, 2016

Thanks for reporting!
It seems that it crashes browser because memory stats take too much RAM. Works better without m flag:

profiler.run(apriori.init_pass,
             'ch', # This is the "everything" option.
             args=("75000-out1.csv", 0.1))

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