filename length checking?

Hi All,
Wonder if anyone can help - have tried search and find nothing for this.
I have a MacMini that was running fine, although a little slow at times, until the 2013-003 security update, which I applied yesterday.
If all started during the updates required reboot;
The server froze and didn't come back after reboot. It had to be hard reset.
Then, within 5minutes of logging onto the server, the hazelworker process consumes as much physical RAM as it can, then starts on virtual, and kills the machine.
i.e., 4Gb machine, with other processes running, it quickly jumps to 1.5GB physical RAM (value of 'free' RAM beforehand).
I even got a popup dialog saying machine didn't have enough memory, please close applications (yes, I am definitely running OSX, not Windows) !!!
Stopping Hazel when it does this makes no difference, the process stays.
By process of elimination, I have this down to a single rule;
if kind is image AND dateadded is after lastmodified
rename with pattern <pixel width>x<pixel hight> - <name> (processed) <extension>
And, as rule preview showed a single file, a possible cause.
By testing I believe the issue was down to the filenames length, as shortening it allowed the rule to work fine (auto download from Flickr).
So, my question; is it possible, within Hazel, to check filename length and shorten it if it is over a certain length, or do I have to do this via a script?
Regards
Mark
Wonder if anyone can help - have tried search and find nothing for this.
I have a MacMini that was running fine, although a little slow at times, until the 2013-003 security update, which I applied yesterday.
If all started during the updates required reboot;
The server froze and didn't come back after reboot. It had to be hard reset.
Then, within 5minutes of logging onto the server, the hazelworker process consumes as much physical RAM as it can, then starts on virtual, and kills the machine.
i.e., 4Gb machine, with other processes running, it quickly jumps to 1.5GB physical RAM (value of 'free' RAM beforehand).
I even got a popup dialog saying machine didn't have enough memory, please close applications (yes, I am definitely running OSX, not Windows) !!!
Stopping Hazel when it does this makes no difference, the process stays.
By process of elimination, I have this down to a single rule;
if kind is image AND dateadded is after lastmodified
rename with pattern <pixel width>x<pixel hight> - <name> (processed) <extension>
And, as rule preview showed a single file, a possible cause.
By testing I believe the issue was down to the filenames length, as shortening it allowed the rule to work fine (auto download from Flickr).
So, my question; is it possible, within Hazel, to check filename length and shorten it if it is over a certain length, or do I have to do this via a script?
Regards
Mark