Comments (9)
@sarathnair @isiahmeadows Sorry for responding so late on this ticket. I actually forgot to update this one. We have made some cleanups in the code and removed some unused code+library.
I am expecting that should fix the issue. If by chance, you guys are still using Requestly (That would be a huge thing for me), can you please let me know if you face this?
from requestly.
@sachinjain024 I'm not seeing it on my end any more and haven't for a while, so I think this could be closed.
from requestly.
For such a simple tool conceptually, that's way too much memory.
from requestly.
@isiahmeadows Thanks for logging this. I'd definitely keep this in mind in my development and will often check for memory consumption by this.
How did you check the memory consumption? Did you use Chrome Task Manager? Here is a screenshot of my device.
Of all the extensions I use, Requestly came at the bottom with ~40 MBs of memory and I think that's fair. Although I can not provide the breakdown of memory consumption within the extension. The only things Requestly caches are:
- List of all rules are in memory
- Listeners on Storage and other chrome events
What's your expectation? What should be the memory consumption?
from requestly.
I did use Chrome's task manager. I didn't take a screenshot, though. It also takes several hours to get truly problematic (after ~10 hours, it usually hits about 300-400MB), so it's not something that quickly appears.
I would normally expect Requestly to stay near the bottom while not filtering anything, and slow memory leaks aren't easily caught.
Any idea where I could find the relevant source code? I'm actually willing to help rectify this when I can find time.
from requestly.
I have also experienced memory leak in program. I have set up some rules in requestly. These rules basically replace the URL. Every time I refresh my page I can see in Chrome's task manager that memory goes up and never comes down. For my application the requestly extension consumes additional 2MB memory in each page reload. This is a critical issue and should be looked into immediately.
from requestly.
@sarathnair Can you please give me a screenshot of your chrome task manager. I just wanted to view the memory consumption by other tabs/processes as well before considering this as issue. Normally, chrome keeps on hogging memory if you do not refresh the page for a long time. I think the same holds true for extensions as well. Can you check the memory usage by other extensions as well ?
from requestly.
Here is the screen shot you asked. After a couple of refresh I see below:
I see similar behavior in Adblocker extension. But after a while Adblocker seems to release memory and come back its previous state.
from requestly.
Thanks @isiahmeadows for confirming. Feel free to give us suggestions/feedbacks.You can also reachout to us at requestly dot extension at gmail dot com.
from requestly.
Related Issues (20)
- bug: Old SharedList URLs not working HOT 1
- bug: Unable to save new rules after create new work space HOT 2
- Add breakpoints and modify the whole request using JS HOT 1
- Add Support for variables
- Error when creating a new rule HOT 1
- Add support for attributes while injecting scripts in the Insert Scripts Rule HOT 2
- bug: LINK.REQUESTLY_DOCS_TEST_URL_CONDITION outdated HOT 2
- Modifying HTTP Status Code HOT 1
- bug: Loading huge rule collection start to failed HOT 2
- [Features Request] API Client Module HOT 1
- bug: Not visible in Browser DevTools message should not appear in Desktop App
- bug: Filter doesn't get cleared when navigated from Network Traffic to View Session
- bug: Request header inspection doesn't work for `Accept-Encoding`. [Mac Desktop] HOT 2
- bug: Windows x64 Chrome (122.0.6261.112) does not work
- Import yaml & json files with OpenAPI specs in Mock Server
- bug: ENGG-1447: a bug occurs when I type a long string in the regex test for the API Response mock HOT 2
- bug: Session records not work for Chrome extensions HOT 2
- Improve Response Viewer in Desktop App Traffic Table (From Reddit)
- feat: Self Hosting Support
- How To Use SessionBook/Recording Feature To Capture All Requests (Documents, Images, Audio, Video) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from requestly.