diff --git a/vpn/tunnel.go b/vpn/tunnel.go index a719a6c2..0f5f9998 100644 --- a/vpn/tunnel.go +++ b/vpn/tunnel.go @@ -183,7 +183,8 @@ func (t *tunnel) init(ctx context.Context, options string, platformIfce libbox.P t.closers = append(t.closers, lb) t.lbService = lb - if common.IsMobile() { + if common.IsIOS() { + // only set memory limits on iOS since Android doesn't appear to apply any restrictions. setMobileMemoryLimits() }