OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: TheLatestWire on March 23, 2019, 05:55:42 pm

Title: [RESOLVED] "Cannot allocate memory" error after applying alias edit
Post by: TheLatestWire on March 23, 2019, 05:55:42 pm
Hi,

I receive the popup error "Cannot allocate memory" after I hit apply in the Firewall/Aliases section.  I've discovered that I don't have to add/edit or change any of the aliases but if I even simply go to the Aliases section and hit "Apply" after making no changes, I still get the error.

(https://i.imgur.com/bJ78qqO.png)

I do have quite a few aliases that contain a large number of CIDRs but this error is something relatively new, maybe only started after that last two updates.

I'm using the current, up to date v19.1 production series:
OPNsense 19.1.4-amd64
FreeBSD 11.2-RELEASE-p9-HBSD
OpenSSL 1.0.2r 26 Feb 2019

Is there a tunable that I could adjust or should I start examining my large aliases perhaps?

Any assistance would be greatly appreciated.

Thanks,
ObecalpEffect.
Title: Re: "Cannot allocate memory" error after applying alias edit
Post by: AdSchellevis on March 24, 2019, 02:27:33 pm
Hi,

Yes, you can easily expand the table size in : Firewall -> Settings -> Advanced : " Firewall Maximum Table Entries"

Best regards,

Ad
Title: Re: "Cannot allocate memory" error after applying alias edit
Post by: TheLatestWire on March 24, 2019, 06:04:20 pm
Thanks for the reply Ad.

I had that setting at 500000, but just now changed it to 1000000 and that seems to have resolved the issue.  I also noticed that after increasing it some of my other firewall rules, that I thought were working but really weren't, finally started working.

Many thanks for the assistance.

ObecalpEffect