My TArray<> keeps running out of memory?

I would not answer for your question, because I don’t have time to debug your code;) but I’ll give you advice.

This for example:

TArray<AMech_RPGCharacter*> members = *new TArray<AMech_RPGCharacter*>();

Does it even compile?

Should be replaced with:

UPROPERTY(/*any of the specifiers: Transient/EditDefaultsOnly etc*/)
TArray<AMech_RPGCharacter*> members;

without UPROPERTY your members probably would be cleaned by GC.

Read this:

TArray | Unreal Engine Documentation - official documentation.

Or this

A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums - wiki by .