Xenia cannot run more than one game across a single instance #641

Open
PcDivision opened this Issue Dec 3, 2016 · 10 comments

Projects

None yet

4 participants

@PcDivision

games crashing almost immediatly returns with error originating from line 856 in memeory.cc on 8gb ram 840m and intel core i5 4210u the last version of xenia i know works was built around the 25 of november before this issue started occuring

@PcDivision

i did some debugging trying to fix the issue but was unable to

@PcDivision

xenia works fine when using --gpu=null

@PcDivision PcDivision changed the title from Xenia crashing after loading games to Xenia crashing after loading any game that was previously working Dec 3, 2016
@maxton
Contributor
maxton commented Dec 3, 2016

Can you find the commit at which things stopped working? And also try --gpu=gl4 and --gpu=vulkan

@DrChat DrChat changed the title from Xenia crashing after loading any game that was previously working to Xenia cannot run more than one game across a single instance Dec 4, 2016
@DrChat
Collaborator
DrChat commented Dec 4, 2016

This probably never worked.
Would be something worth looking into, as this would deal with shutdown and initialization of Xenia.

At the moment I suspect we're not completely cleaning up Xenia after we leave a game, and it will just crash when loading a new game.

@PcDivision

ive done both gpu gl4 and gpu vulkan gl4 starts the game for about 2 seconds and then crashes

@PcDivision

it has somthing to do with memory allocation?

@PcDivision

just got a friend to test xenia on a different computer same issues 930m i5 5200u 8gb ram

@PcDivision

the error was in memory.cc line 856 and is
if (start_page_number == UINT_MAX || end_page_number == UINT_MAX) {
// Out of memory.
XELOGE("BaseHeap::Alloc failed to find contiguous range");
assert_always("Heap exhausted!");
return false;
}

@PcDivision

xenia has sufficient memory to run.

@paulsapps

pls consider collecting more info instead of spam posting so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment