Jump to content
D Rai

360works email plugin error while downloading attachment "java.lang.OutOfMemoryError: Java heap space"

Recommended Posts

Hi everyone,

We keep getting "java.lang.OutOfMemoryError: Java heap space" while 360plugin tries to download attachment for the email with in filemaker. Till now the only solution is to restart the filemaker server completely and the memory gets reset. We use to be able to run the server for week but now restarting every night is not enough. Does any one has fix for it? Do we need to update the java to latest version? I also tried to locate the pre-built custom memory size files in the system as on this link recommends http://docs.360works.com/index.php/Heapspace_Out_of_Memory_Error but unable to locate the file path on the server 'C:\ProgramData\360Works\' where to set the custom memory size for java to set them?


We are running the plugin on

Windows server 2008 R2

Filemaker server 12

Plugin version: 360Worsks Email  ( V1.981 )

Java version: 6 update 23 ( 64 bit )

error log DEBUG : Error inserting file for script "Add attachment" : "java.lang.OutOfMemoryError: Java heap space"


Hope to get the reply soon 




Share this post

Link to post
Share on other sites

Hi Rai,

We have made some changes in more recent versions that may pertain to this issue so the first thing to do is to update your plugin. Email 1 is now at version 1.99 . To update go to http://360works.com/email-plugin/ and click on "Pricing or Download Demo". At the top of the next page there is a download link for Email 1.99 . Install v1.99, restart the FileMaker Script Engine and check to see if you run into issues. If you do then I need to see your Server logs. Please see this page for log locations. Email the logs to support@360works.com with a link to this forum post. 

Of note, unless you have some kind of dependency of Java 6 you may want to consider updating it. From this page, FileMaker recommends using Java 7u75 for use with FileMaker Server 12. 


Ryan DeMaeyer

Share this post

Link to post
Share on other sites

Hi Ryan,

Thank you for the reply I have now managed to increase the size of the memory 1024m by manually making the folder under 'C:\ProgramData\360Works\' and i can also see that it has now pickup the custom memory size from the log. If it gets the error again i will try the above.



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Who Viewed the Topic

    3 members have viewed this topic:
    IanW  docasar  Lee Smith 
  • Similar Content

    • By docasar
      I have just downloaded the 360works Email plugin Sample and I am doing some tests to check whether this would solve my problem. I would like to be able to download all emails from my email account into "messages" table and then on each customer record show those emails which are related to that customer via a portal based on a relationship between, but what I can not figure out how to do it is that the portal would show but types of emails those marked as "from" emails and those marketd as "to" emails. So far I have created a relationship between Customers::email  ------- Messages::From and the portal would show all "from" messages. If I would set the relationship as Customers:email ------ Messages:To, the portal shows all "to" messages, but what I am trying to make is a join portal that would show by date both "from" and "to" messages, then I plan to make a Conditional Formating saying that if Customers:email = Messages::From then all text in blue, and all text in green when it is TO.
      Is this something that can be achieved?
      Thanks a lot for any tip,
    • By dmcs
      Hi. I've been using 360Works Email plug-in for years on both Mac and Windows with multiple clients, and just today I got an error upon trying to connect using login information that has worked for me for years - java.lang.NoClassDefFoundError: javax/crypto/spec/SecretKeySpec. I get this consistently using their demo, the sample Email client, and my own Filemaker files that previously worked. I'm using the latest version of Java on Yosemite 10.10.5 and the latest version of the 360Works Email plug-in. I'm sure it's only a matter of time before my clients upgrade to whatever incompatibility this is, everybody starts getting this error, and everything comes to a screeching halt. 360Works people - what gives? Is anyone running successfully on a later version of the operating system, perhaps, that I need to upgrade to, probably requiring me to buy a new Mac in the process that costs as much as my house just so I can run a $99 plug-in successfully? Please advise. Thank you. 
    • By mkfoley
      When Hotmail auto-replies to a bad e-mail (bad addressee, mailbox problem, etc) it returns a "Delivery Status Notification" email.  However, there doesn't seem to be any message body returned by 360Works Email 2.03 plug-in.  I've tried:
      Bodies are returned for all other e-mails.

Important Information

By using this site, you agree to our Terms of Use.