Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3688

Failed to allocate a memoryblock with 8 bytes in size, again (possibly related with MBS)

$
0
0

Hi,

I’m getting an exception with one of my apps, with a frequency of less than a week between each.
The issue happens only in the built app, and the stack trace doesn’t tell me much. The app isn’t memory intensive at all (normal memory size in activity monitor, no use of AddHandler not paired with RemoveHandler, etc.).

Here’s what a message box tells me in app.UnhandledException:

OutOfMemoryException number 0: Failed to allocate a memoryblock with 8 bytes in size.
RuntimeRaiseException
_Z14RaiseExceptionPKcS0_jx
_Z20REALBuildMemoryblockPKvx
_ZL12CallEventPSNP16REALobjectStructP14OpaqueEventRefi
_ZL14MyEventHandlerP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv.657
_ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec
_ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec
SendEventToEventTargetWithOptions
HIToolboxLSNotificationCallbackAllASNsFunc

I already mentioned this problem last year, but the context and knowledge has changed since then. What hasn’t changed is the lack of recognisable methods in the trace log, for someone like me, doing almost only Xojo programming.

The app uses the MBS plugin for at least monitoring processes and volumes mounting/unmounting (those are the main features that happen when idle, when the app throws these exceptions).

Help welcome.

6 posts - 5 participants

Read full topic


Viewing all articles
Browse latest Browse all 3688

Trending Articles