Trying to install ea app not working

i have no idea what i am doing wrong

DEBUG    2023-12-28 23:00:50,449 [command.on_stop:195]:Process 143464 has terminated with code 0
DEBUG    2023-12-28 23:00:51,068 [commands._monitor_task:448]:Return code: 0
DEBUG    2023-12-28 23:00:51,068 [interpreter._iter_commands:349]:Installer command: {'task': {'executable': 'setup', 'name': 'wineexec', 'return_code': 768}}
ERROR    2023-12-28 23:00:51,312 [nvidia.get_nvidia_glx_path:42]:Unable to load libGLX_nvidia.so.0
WARNING  2023-12-28 23:00:51,312 [nvidia.get_nvidia_dll_path:90]:Unable to locate libGLX_nvidia
Started initial process 144391 from /home/tommy/.local/share/lutris/runners/wine/wine-ge-8-25-x86_64/bin/wine /home/tommy/.cache/lutris/installer/ea-app/setup/EAappInstaller.exe
Start monitoring process.
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
libc++abi: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
Monitored process exited.
Initial process has exited (return code: 768)
Exit with return code 768
DEBUG    2023-12-28 23:00:57,847 [command.on_stop:195]:Process 144389 has terminated with code 768
DEBUG    2023-12-28 23:00:58,334 [commands._monitor_task:448]:Return code: 768
DEBUG    2023-12-28 23:00:58,335 [interpreter._iter_commands:367]:Commands 4 out of 4 completed
DEBUG    2023-12-28 23:00:58,488 [config.write_game_config:22]:Writing game config to ea-app-standard-1703829658
WARNING  2023-12-28 23:00:58,576 [interpreter._finish_install:412]:No executable found at specified location /home/tommy/Games/ea-app/drive_c/Program Files/Electronic Arts/EA Desktop/EA Desktop/EALauncher.exe
DEBUG    2023-12-28 23:00:58,576 [http._request:88]:GET https://lutris.net/api/games/ea-app
DEBUG    2023-12-28 23:00:59,053 [game.save:429]:Saving EA App (wine) with config ID ea-app-standard-1703829658
DEBUG    2023-12-28 23:00:59,054 [config.save:227]:Saving LutrisConfig(level=game, game_config_id=ea-app-standard-1703829658, runner=wine) config to /home/tommy/.config/lutris/games/ea-app-standard-1703829658.yml
DEBUG    2023-12-28 23:01:03,034 [lutris.add_to_path_cache:160]:Adding EA App (wine) to path cache

whenever i try to install it, it gets to the end then just closes. it gives me the error code of 768. i have no idea what i am doing wrong.