Comments (5)
Hello.
We need to clarify a few things at the first, JDK (Java Development Kit) is a regular JRE (Java Runtime Environment, the virtual machine, that interprets the bytecode and runs the application) plus the stuff that is need to develop and build Java applications.
So, this doesn't matter what you have installed - JRE or JDK.
If you do not develop Java apps, you can uninstall JDK and install a regular JRE to save disk space.
When I use PowerTunnel on Windows, the average RAM usage is 100-150 MB. The main source of the memory consumption is the underlying proxy server (LittleProxy), that is highly optimized though.
Can you share your PowerTunnel settings (screenshot of the options window or settings.ini
)?
What operating system do you use (Windows/Linux/macOS)? Windows.
Are you seeing this issue on Android?
I have a few suggestions at this point:
- You can try to launch PowerTunnel in console mode, so you can try economy the memory (and CPU usage) by disabling the User Interface:
javaw -jar PowerTunnel.jar -console
; - Remove the asterisk (
*
) fromgovernment-blocklist.txt
and put there all hosts that is blocked in your country, you can find this list in the Internet, so the resources of your PC will be saved thanks to applying trick only to necessary sites; - I developed another solution that should solve that problem a month ago, but haven't published it yet. The solution is to use PAC (proxy auto configuration) to use the proxy only for necessary sites, this will economy even more resources than the previous method.
Waiting for your reply.
from powertunnel.
I runned via cmd javaw -jar PowerTunnel.jar -console
, when it's enabled, total usage is 90mb (increases-now 98mb). which is better than 400mb.
but goodbyedpi just uses 6mb. My settings are default (not used any blacklist). OS: Windows 10 latest.
from powertunnel.
The difference is that GoodbyeDPI injects into the Windows network stack, when PowerTunnel is a proxy server that should intercept, deconstruct and analyze the traffic. Unfortunately LittleProxy is not as optimized as we would like it to be.
I have a plan to move to a native and optimized proxy server written in C/C++, but haven't find a good replacement yet (in addition to that, the replacement should support MITM attacks with certificate sniffing to maintain the SNI tricks).
The problem can be partially fixed for now by using blacklists in combination with PAC, which I will release within a few hours.
from powertunnel.
The temporary fix is available in version 1.13, you can use PAC in combination with government blocklist to reduce RAM usage by reducing the count of connections to the proxy
from powertunnel.
I found a solution.
The actual RAM usage is actually low, the problem is that memory never returns from heap to operating system.
Launch PowerTunnel with JVM argument -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC
.
from powertunnel.
Related Issues (20)
- Random sites give closed connection HOT 2
- Vpn is not working inspite of connection. HOT 1
- HTTP/3 Support over QUIC with Kwik (Feature Request) HOT 14
- VPN mode in desktop version? HOT 13
- [Feature Request] Appimage support
- Flatpak support (Linux) HOT 1
- Fake SNI broke website HOT 2
- [Suggestion] Fake Packet mode HOT 2
- Не получается настроить доступ к серверам Google на Fedora Linux HOT 2
- Why PowerTunnel uses tcp6 HOT 4
- Not working in India HOT 1
- Cant connect internet HOT 5
- PR_END_OF_FILE_ERROR on only some websites HOT 1
- Not working on Windows 7 without DNSCrypt Proxy HOT 2
- PowerTunnel doesn't restore the system proxy if the app doesn't terminate cleanly when Windows is shutting down
- Chrome browser's ERR_PROXY_CONNECTION_FAILED issue with the restored system proxy setting after stopping the PowerTunnel server in Windows 7
- Plugin stop service callback?
- PowerTunnel Not Working - Unable to Access Blocked Sites
- Авто старт HOT 5
- Feature request: apps filter 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 powertunnel.