Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QM Error Dialog
#1
A client keeps getting this error when starting QM.

---------------------------
Quick Macros
---------------------------
Cannot create trigger tables. There is not enough shared memory.

item=Macro Name Here
---------------------------
OK
---------------------------

I looked at the macro it mentions but aside from there being a !ca window trigger, I can't see any issues with it. Do you have any ideas why this is happening?

The server it's running on has over 8 gig of RAM available.
A new blog on QM coding and automation.

The Macro Hook
#2
For trigger data QM uses shared memory of size 0.5 MB.
If there are many triggers or some trigger strings are very long, this memory is filled and QM cannot resize it.
This memory is used for these trigger types: key, mouse, window, accessible object.

This limit came from many years ago. I'll make it bigger in new QM version.
How it can be fixed now:
Find triggers with very long strings and make them shorter. Use wildcard or regular expression.
To find long triggers: in the Find dialog select Other->Trigger, check Regexp, enter this regular expression:
.{100,}
It finds triggers of 100 and more characters length.
Or better use this regexp, it finds only window and acc triggers:
^(!|\$a).{100,}

Full error string should be "Cannot create trigger tables. There is not enough shared memory for key/mouse/window/acc triggers. Delete unused triggers."
If it is "Cannot create trigger tables. There is not enough shared memory.", probably it is very old QM version. Upgrading may help.
#3
http://www.quickmacros.com/beta/quickmac.exe

QM 2.4.7.1
Shared memory size 3 MB, 6 times more.


Forum Jump:


Users browsing this thread: 1 Guest(s)