Skip to content

Fil profiler fails for fairly large dataset #492

@mattgerg12

Description

@mattgerg12

I am doing some benchmarking and thought about using fil.

I am loading a csv file of size 3 GB to my 16 GB RAM mac. I am able to load the file completely fine in python3 with Fil kernel, but when I use %%filprofile The kernel is dying; and upon checking logs I saw out-of-memory.svg file in some temp folder with memory showing around 6000 MB. This shouldn’t be the case as I can load the data completely fine without fil and other profilers work with no issues. (like below)

I am wondering why this is happening when I am trying to use %%filprofile. All other profilers works fine like I tried memory profiler and it is showing as follows.

Screenshot 2023-02-25 at 6 52 19 PM

I don’t get any issue when I tested fil by profiling 1+1

Screenshot 2023-02-25 at 6 43 31 PM

Is fil designed to profile small dataset cases ? What can I try from my end to make fil working ?

Just as a side" note how different is fil when compared to memoryprofiler as It also give the peak memory and increment. Are there any strong reasons that fil is better other than the nice graphical view ? I do understand why it is better compared to sys.getsizeof() and memory_usage() from your article

filprofiler==2023.1.0
Python 3.11.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions