Collabora Online Built in CODE server not Working with 1gb ram

You do not have enough memory. Collabora CODE has higher system specs than 1gb ram just for itself, in addition to Nextcloud.

You could upgrade your ram (but your instance is probably shared infrastructure and might be less powerful), so might make more sense to run collabora on a secondary server. Here are the requirements for app store release: