bobthecow / genghis

The single-file MongoDB admin app
http://genghisapp.com
MIT License
1.45k stars 165 forks source link

Genghis pages are a memory hog #227

Open Celelibi opened 7 years ago

Celelibi commented 7 years ago

I don't know exactly what it does. But when the data are displayed in the browser, the page take a lot of memory. Like, it easily grow to several GB in firefox for less than 10 MB of data.

There's probably something that can be done about this. Is there some javascript involved? Maybe the HTML can be simplified. Maybe sub-documents could be formatted or downloaded only on-demand. Or maybe past a given data volume threshold, genghis could switch to just building a string without HTML formatting.

What do you think?

julien-c commented 5 years ago

Hi @Celelibi,

This is solved in Mongoku, a new, more modern Web-based client for Mongo, inspired by Genghis: https://github.com/huggingface/Mongoku

It's built on Node.js (using Typescript) and Angular.