JackDotJS / node-studio

Node-based music production tool, built with Tauri.
MIT License
9 stars 1 forks source link

Memory usage indicator #2

Open JackDotJS opened 2 years ago

JackDotJS commented 2 years ago

forgot to mention this is done lol

JackDotJS commented 2 years ago

reopening since this was broken by the tauri port

bdotsamir commented 1 year ago

vote to close this issue as unresolved for now. it's not really relevant now that we're involving rust

JackDotJS commented 1 year ago

i guess if it's not really feasible right now.

i'd still like to have it at some point, though. to me, being able to monitor memory usage outside of something like task manager on windows is rly nice, especially since this application is largely relying on web technologies that are notorious for using fuck tons of RAM.

maybe there's some OS-level commands that could be queried? idk

bdotsamir commented 1 year ago

there are absolutely OS-level commands that can be invoked but what’s annoying is that it’s platform-dependent. what i’m trying to do is find a way to see if rust has that capability built in.. and it doesn’t look like it does. i’ll probably find a wrapper that deals with all three OS command invocations then expose it to the webview and call it a day :p

JackDotJS commented 1 year ago

i mean if it's gonna be OS-level i'd be pretty surprised if it wasn't platform-dependent lol

i'm not too worried if we need to have like 3 different commands for mac/windows/linux. i mean as long as it's not too horrifically complicated beyond that 🤷 idunno