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

Memory consumption vs. press release announcement in 2008 #5

Open
klaus-liebler opened this issue Oct 10, 2024 · 1 comment
Open

Memory consumption vs. press release announcement in 2008 #5

klaus-liebler opened this issue Oct 10, 2024 · 1 comment

Comments

@klaus-liebler
Copy link

Dear Jade,

thank you for this wonderful library. I successfully ported it to my https://github.com/klaus-liebler/labathome project with a NAU88C22 codec.

When I compare your statement regarding RAM usage ("the engine uses just over 1.1MB of RAM while initialised") with the press release in https://www.pressebox.com/pressrelease/svox-ag/SVOX-releases-Pico-highest-quality-sub-1-MB-Text-to-Speech-system-available/boxid/217338 ("To run SVOX Pico, a device needs less than 250 KB RAM [on ARM9]") there is a significant discrepancy. Is there a good explanation for that? Is ARM9 really that memory efficient compared to Xtensa?

Background: I use the ESP32-S3N8R2 with 2MB of RAM and there are plenty of other processes on my CPU that need lot of memory as well.

Thank you!

Regards, Klaus Liebler

@jmattsson
Copy link
Member

Hello Klaus,

That is an excellent question, and I don't currently have a good answer. PicoTTS fails if given a too small memory arena, and 1.1MB was empirically found to be the magic value that could handle all the languages. Do feel free to play with the value of PICO_MEM_SIZE in esp_picotts.c and see if you can narrow down why it's insisting on so much more memory than that advertised 250KB. If I find time, I may try to do this too, but currently I'm very oversubscribed 😔

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