Comments (3)
Yikes. I tracked it down, looks like the library I was using to make funny rhymes out of the User Agent was extremely inefficient with memory. Bypassing that knocked it down to about 30MB of RAM. All that memory for a stupid joke...tsk tsk. Thanks for pointing that out, will push a fix soon.
from whoogle-search.
$ docker stats --no-stream whooglesearch
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
35b5b8492a1d whooglesearch 0.03% 25.42MiB / 1.943GiB 1.28% 2.41kB / 15.9kB 0B / 0B 2
Fixed in 445019d, will document in upcoming release in the next few days. Thanks again!
from whoogle-search.
Wow, that's pretty incredible. I wasn't expecting it to be too difficult to fix, but I didn't anticipate it all coming from one dependency. Thanks for the fast turn-around time! I'll keep my eye out for that next release.
I looked into Phyme
, and it looks like all that memory is used for the dictionary storage (and resulting lookup structures). Another good reminder that although Python is really convenient to work with, it has some serious costs on the hardware.
from whoogle-search.
Related Issues (20)
- [BUG] config variables not working HOT 1
- validators package is missing from dependencies HOT 3
- [QUESTION] How does whoogle get quick answers from google? HOT 1
- [QUESTION] Persistency of custom theme when using Docker(-compose) HOT 2
- Solved Problem
- [BUG] Broken site alts for some urls due to bad skip_prefix logic
- [QUESTION] GET vs POST HOT 3
- [BUG] Broken search when entering too many results at a time HOT 1
- [BUG] replit
- [FEATURE] Option to disable retrieval of favicons HOT 2
- [FEATURE] Fallback to custom search provider HOT 2
- [BUG] Docker Container Going "Unhealthy" and Whoogle Stops working Every Day or Two HOT 13
- [Request] Please remove my instance from the instance list - search.rubberverse.xyz
- [FEATURE] Multipass image for Whoogle
- New public instance - search.nezumi.party
- [QUESTION] starting flask starts whoogle at local port HOT 1
- [FEATURE] Kid verson of Whoogle
- Remove alternate frontend which geoblock HOT 1
- Open a new webpage after clicking HOT 1
- [FEATURE] Can one-click deployment of vercel be added?
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 whoogle-search.