[RESOLVED] "Cannot allocate memory" error after applying alias edit

Started by TheLatestWire, March 23, 2019, 05:55:42 PM

Previous topic - Next topic
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.



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.

Hi,

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

Best regards,

Ad

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