Java Heap Limit Reached
### Current Situation

Good evening, all.

So, despite the fact my Raspberry Pi is showoing half a gig of available memory, HomeBridge keeps crashing, with the below error. I've disabled individual plugins to see if it helps (it does not).

Lastest "apt" releases for all.
Homebridge UI: 4.50.1
Unifi Protect Plugin: 5.5.4 (tried disabling)
ElkM1 Plugin: 3.0.7 (tried disabling)

Tried rolling back the UI to 4.50.0 as well - no change.

Somewhat new to HomeBridge, so not familiar with the issue and didn't find other similar issues, searching for "heap", "allocation failed" or "out of memory"



### Logs

```markdown
<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
[09/08/2022, 22:16:05] [HB Supervisor] Homebridge Process Ended. Code: null, Signal: SIGABRT
[09/08/2022, 22:16:10] [HB Supervisor] Restarting Homebridge...
[09/08/2022, 22:16:10] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[09/08/2022, 22:16:10] [HB Supervisor] Started Homebridge v1.5.0 with PID: 3958
[09/08/2022, 22:16:12] Loaded config.json with 0 accessories and 3 platforms.

<--- Last few GCs --->

[3958:0x4f5f240]     8923 ms: Scavenge (reduce) 229.9 (234.3) -> 229.9 (234.8) MB, 9.1 / 0.0 ms  (average mu = 0.860, current mu = 0.724) allocation failure 
[3958:0x4f5f240]     9199 ms: Mark-sweep (reduce) 230.4 (234.8) -> 230.3 (235.3) MB, 254.8 / 0.0 ms  (+ 21.4 ms in 26 steps since start of marking, biggest step 4.4 ms, walltime since start of marking 374 ms) (average mu = 0.761, current mu = 0.396) alloc

<--- JS stacktrace --->
```


### Configuration

```json
{
    "bridge": {
        "name": "HomeBridge",
        "username": "0E:9E:B2:DA:A3:94",
        "port": 51032,
        "pin": "186-68-441",
        "advertiser": "avahi"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "controllers": [
                {
                    "address": "10.0.101.1",
                    "name": "UDM-Pro",
                    "password": "1234Fsse!nt",
                    "refreshInterval": 10,
                    "username": "homebridge"
                }
            ],
            "platform": "UniFi Protect"
        },
        {
            "zoneTypes": [
                {
                    "zoneNumber": 1,
                    "zoneType": "contact"
                },
                {
                    "zoneNumber": 2,
                    "zoneType": "contact"
                },
                {
                    "zoneNumber": 3,
                    "zoneType": "contact"
                },
                {
                    "zoneNumber": 4,
                    "zoneType": "contact"
                },
                {
                    "zoneNumber": 5,
                    "zoneType": "contact"
                },
                {
                    "zoneNumber": 6,
                    "zoneType": "motion"
                },
                {
                    "zoneNumber": 7,
                    "zoneType": "motion"
                },
                {
                    "zoneNumber": 8,
                    "zoneType": "motion"
                },
                {
                    "zoneNumber": 9
                },
                {
                    "zoneNumber": 10,
                    "zoneType": "contact"
                },
                {
                    "zoneNumber": 11,
                    "zoneType": "motion"
                },
                {
                    "zoneNumber": 12,
                    "zoneType": "noContact"
                },
                {
                    "zoneNumber": 13,
                    "zoneType": "contact"
                },
                {
                    "zoneNumber": 14,
                    "zoneType": "contact"
                },
                {
                    "zoneNumber": 15,
                    "zoneType": "garage"
                },
                {
                    "zoneNumber": 16,
                    "zoneType": "motion"
                },
                {
                    "zoneNumber": 17,
                    "zoneType": "noContact"
                },
                {
                    "zoneNumber": 18,
                    "zoneType": "noContact"
                },
                {
                    "zoneNumber": 19
                },
                {
                    "zoneNumber": 20
                },
                {
                    "zoneNumber": 21
                },
                {
                    "zoneNumber": 22
                },
                {
                    "zoneNumber": 23
                },
                {
                    "zoneNumber": 24,
                    "zoneType": "contact"
                },
                {
                    "zoneNumber": 25,
                    "zoneType": "contact"
                },
                {
                    "zoneNumber": 26,
                    "zoneType": "contact"
                },
                {
                    "zoneNumber": 27,
                    "zoneType": "motion"
                },
                {
                    "zoneNumber": 28,
                    "zoneType": "garage"
                },
                {
                    "zoneNumber": 29,
                    "zoneType": "contact"
                },
                {
                    "zoneNumber": 30,
                    "zoneType": "contact"
                },
                {
                    "zoneNumber": 31,
                    "zoneType": "contact"
                },
                {
                    "zoneNumber": 32,
                    "zoneType": "contact"
                }
            ],
            "name": "M1Gold",
            "elkAddress": "10.0.101.5",
            "elkPort": 2101,
            "secure": false,
            "area": 1,
            "keypadCode": 1701,
            "garageDoors": [
                {
                    "name": "Garage Overhead Door - Exterior",
                    "stateZone": 15,
                    "openOutput": 7,
                    "closeOutput": 7
                },
                {
                    "name": "Garage Overhead Door - Interior",
                    "stateZone": 28,
                    "openOutput": 8,
                    "closeOutput": 8
                }
            ],
            "includedOutputs": [
                65
            ],
            "platform": "ElkM1"
        }
    ],
    "disabledPlugins": []
}
```


### Environment

- OS: Raspbian GNU/Linux Bullseye (11)
- Software: 1.5.0
- Node: 16.16.0
- npm: 8.11.0



### Process Supervisor

hb-service

### Additional Context

_No response_