Runtime memory reduction

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
lantzvillian
Posts: 2
Joined: Wed Feb 08, 2017 3:49 pm

Runtime memory reduction

Post by lantzvillian » Wed Feb 08, 2017 3:55 pm

Hello all,

I have very limited memory on an ARM board (around 25MB free) and I would like to slim the bridge code down at run-time. At the present, it consumes too much memory. Given the bridge config, or even compile options, what are some variables to tweak, or configure?

Thanks!

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Runtime memory reduction

Post by thisjun » Thu Feb 23, 2017 7:32 am

How about L2TPv3 or OpenVPN?

lantzvillian
Posts: 2
Joined: Wed Feb 08, 2017 3:49 pm

Re: Runtime memory reduction

Post by lantzvillian » Thu Apr 20, 2017 8:47 pm

Okay, given that... what are components that can be removed out of this insane binary? Why would you maintain massive string tables on the server as well.... which components are creating such a giant heap and resident memory?

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Runtime memory reduction

Post by thisjun » Wed May 10, 2017 7:43 am

Ring buffer and thread stack are using large memory.
You can edit size of these, however performance may decrease.

You can place unfolded hamcore.se2 contents as folder named 'hamcore'.

Post Reply