Skip to content

Feature Request: Very large CSV file support #4

Open

Description

@jschuur

I loaded an 18 gig CSV file and the app used... 18 gig of RAM :)

There does seem to be a reference to 'out of core processing' here for how you might be able to address this with DuckDB:

https://duckdb.org/docs/guides/performance/how_to_tune_workloads.html#larger-than-memory-workloads-out-of-core-processing

Activity

  1. huyphams commented on Jun 14, 2024

    @huyphams

    Did you double click to open or import it and then open @jschuur ?

  2. jschuur commented on Jun 24, 2024

    @jschuur
    Author

    Did you double click to open or import it and then open @jschuur ?

    Originally I double clicked to open.

    Hitting Cmd-O then dragging it into the 'Untitled' workspace and then opening showed 4 gig of RAM used instead of almost 18.

    When I exited and restarted TableTool and then selected the file from that workspace again, and Activity Monitor only showed it using 73 megs of RAM.

  3. huyphams commented on Jun 24, 2024

    @huyphams

    When we double-click, it will use RAM only. However, when you import it to the app, it will use the disk because it now has the data workspace.

    4 gig of RAM
    73 megs of RAM.

    It is the way macOS caches the content, so let macOS manage it.

  4. jschuur commented on Jun 24, 2024

    @jschuur
    Author

    When we double-click, it will use RAM only. However, when you import it to the app, it will use the disk because it now has the data workspace.

    4 gig of RAM
    73 megs of RAM.

    It is the way macOS caches the content, so let macOS manage it.

    I can see that there might be a technical reason for this, but from the user's perspective, this kind of behaviour is less intuitive and could use some more guiding.

    Had I not known about this nuance, my personal use case would have probably been to double click on new CSV files as opposed to going back to the same one via a workspace or adding them there first.

  5. huyphams commented on Jun 24, 2024

    @huyphams

    yep, maybe set a temporary path when using memory mode is a good idea. I agree with you @jschuur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions