To reallocate RAM to "Minecraft," you'll have to edit the game's settings through whatever launcher app you use.
"Minecraft" offers cross-platform play for both versions of the game — Bedrock and Java — but you can only play with users who own the same version.