Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rhubarb crashes out of memory #139

Open
furroy opened this issue Feb 22, 2024 · 2 comments
Open

Rhubarb crashes out of memory #139

furroy opened this issue Feb 22, 2024 · 2 comments

Comments

@furroy
Copy link

furroy commented Feb 22, 2024

My laptop has 16G. I was running a test on a 2min 26sec sample and it runs out of memory and crashes at 24% of the way through. Is this expected behavior? I built it from source on Win11, VS 2017, Boost V1.82.0, JDK 21

C:\Users\furro>"C:\Users\Public\Documents\Poser 13 Content\Runtime\LipSync\rhubarb.exe" "--dialogFile" "C:\Users\furro\AppData\Local\Temp\rhubarb_dialog.txt" "--recognizer" "pocketSphinx" "--machineReadable" "--exportFormat" "json" "--logFile" "C:\Users\furro\AppData\Local\Temp\rhubarb.log" "--datFrameRate" "30" "--output" "C:\Users\furro\AppData\Local\Temp\lipsync.json" "C:\Users\furro\AppData\Roaming\angel.wav"
{ "type": "start", "file": "C:\\Users\\furro\\AppData\\Roaming\\angel.wav", "log": { "level": "Info", "message": "Application startup. Input file: C:\\Users\\furro\\AppData\\Roaming\\angel.wav." } }
{ "type": "progress", "value": 0.00, "log": { "level": "Trace", "message": "Progress: 0%" } }
{ "type": "progress", "value": 0.01, "log": { "level": "Trace", "message": "Progress: 1%" } }
{ "type": "progress", "value": 0.02, "log": { "level": "Trace", "message": "Progress: 2%" } }
{ "type": "progress", "value": 0.03, "log": { "level": "Trace", "message": "Progress: 3%" } }
{ "type": "progress", "value": 0.04, "log": { "level": "Trace", "message": "Progress: 4%" } }
{ "type": "progress", "value": 0.05, "log": { "level": "Trace", "message": "Progress: 5%" } }
{ "type": "progress", "value": 0.06, "log": { "level": "Trace", "message": "Progress: 6%" } }
{ "type": "progress", "value": 0.07, "log": { "level": "Trace", "message": "Progress: 7%" } }
{ "type": "progress", "value": 0.08, "log": { "level": "Trace", "message": "Progress: 8%" } }
{ "type": "progress", "value": 0.12, "log": { "level": "Trace", "message": "Progress: 12%" } }
{ "type": "progress", "value": 0.14, "log": { "level": "Trace", "message": "Progress: 13%" } }
{ "type": "progress", "value": 0.15, "log": { "level": "Trace", "message": "Progress: 14%" } }
{ "type": "progress", "value": 0.15, "log": { "level": "Trace", "message": "Progress: 15%" } }
{ "type": "progress", "value": 0.18, "log": { "level": "Trace", "message": "Progress: 17%" } }
{ "type": "progress", "value": 0.19, "log": { "level": "Trace", "message": "Progress: 18%" } }
{ "type": "progress", "value": 0.20, "log": { "level": "Trace", "message": "Progress: 20%" } }
{ "type": "progress", "value": 0.21, "log": { "level": "Trace", "message": "Progress: 21%" } }
{ "type": "progress", "value": 0.24, "log": { "level": "Trace", "message": "Progress: 24%" } }
calloc(2730,96) failed from C:\rhubarb-lip-sync\rhubarb\lib\pocketsphinx-rev13216\src\libpocketsphinx\ngram_search_fwdtree.c(283)
malloc(395136) failed from C:\rhubarb-lip-sync\rhubarb\lib\pocketsphinx-rev13216\src\libpocketsphinx\state_align_search.c(132)
@deckarep
Copy link

Pretty sure any computer with only 16M is not supported.

Do you mean Gigs?

@furroy
Copy link
Author

furroy commented Feb 22, 2024

Oops Ofc

Ah I think I just solved this myself. It was building rhubarb as a 32bit app. I edited the package-win.bat to have it build 64bit. Maybe you want to make this an official change?

cmake .. -G "Visual Studio 15 2017 Win64"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants