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

Maximum terminal line limit #51

Open
emcniece opened this issue Apr 17, 2016 · 3 comments
Open

Maximum terminal line limit #51

emcniece opened this issue Apr 17, 2016 · 3 comments

Comments

@emcniece
Copy link
Collaborator

To limit browser resource consumption, it may be necessary to limit the total number of lines printed in the terminal area. This may be nice to have as an adjustable option.

@kh90909
Copy link
Owner

kh90909 commented Apr 17, 2016

Do you have idea of how many lines it would take for things to become problematic? With browser tabs typically using tens of megabytes of RAM, it's hard to imagine even 100,000 lines of text making much a dent in that, but I really don't know how much overhead is involved with representing each HTML element in the browser.

@emcniece
Copy link
Collaborator Author

Sometimes memory leaks can happen when jQuery tracks new elements that are added to the DOM. In any case, it would be best to run a test for several hours to see if we have any runaway effects.

@emcniece
Copy link
Collaborator Author

After a 3h test, memory consumption increased from 75Kb (start) to 85Kb. Terminal contained 5300 lines at termination. At this time the memory footprint appears to be minimal, so this can remain as an enhancement (not a bug).

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

No branches or pull requests

2 participants