Read the statement by Michael Teeuw here.
MMM-Buttons to activate MMM-Assistantmk2 (v3)
-
@Apartment_Moose
Well, the module itself is working as log says. But themmap() failed
means, you have not enough memory. (I don’t know why)mmap()
issue could happen with various reasons, so hard to point out exactly.
I think it is not related to my module directly because there was no same issue report but I cannot declare definitely. -
@Sean
ok thanks for taking a look.
dont know what the mmap() issue is but i will look into it@sdetweil
do you potentially know what could cause this ? -
@Apartment_Moose said in MMM-Buttons to activate MMM-Assistantmk2 (v3):
do you potentially know what could cause this ?
mmap is memory mapped file
here is a site with a pretty decent dewscription of what to look for and what to change
https://mroonga.org/docs/faq/mmap_cannot_allocate_memory.html -
@sdetweil
Thanks for getting back to me on this. I will check it out over the weekend when I next am free (probably sunday). I will report back on if this fixed it. Thanks again for the support as I couldnt find anything on google. -
@Apartment_Moose i just did a search on google for “mmap Cannot allocate memory”
-
Hi @sdetweil
thanks for the help so far, I have edited the vm map count as per the link you linked (with the 16gb used in the example)
i am still getting the same log error however
mmap() failed: Cannot allocate memory Failed to create permanent mapping for memfd region with ID = 738611435 Ignoring received block reference with non-registered memfd ID = 738611435
any ideas as i am stumped…
-
I seem to have fixed the issue by switching everything to my raspberry 4.
didn’t look like the 3 b+ could handle it for some reason and now it is all working.
thank you for your help, it was greatly appreciated!@Sean
quick one for you if you don’t, (after upgrading to 3.0.1) When i speak a command and it responds, the google wheel continues to spin as per the picture. (log file doesn’t do anything unless i press the button to activate again)
is this normal? or should it return to the floating bubbles?
also, log files show after any open questions such as “hello google” its status goes to standby after responding with the log showing the continue line on set to “false”.if i press the button and dont say anything, then it resets due to the timer setting.
-
@Apartment_Moose
We found some issues under specific condition about memory shortage. so we are trying another approach to use smaller memory. wait a while. sorry. -
@Sean
thanks for the response :) i will close this as solve for now.
thank you