Score:0

Error occurred during initialization of VM Could not allocate metaspace: 1073741824 bytes

cn flag

When I run this...

/usr/bin/pdftk '/home/someuser/public_html/form/Form.pdf' fill_form '/home/someuser/public_html/form/results/Registration.xfdf' output '/home/someuser/public_html/form/results/Registration.pdf'

I get this error...

Error occurred during initialization of VM
Could not allocate metaspace: 1073741824 bytes

I have looked quite a while and don't know how to fix this. I'm certain it shouldn't take that much memory to do the simple job of opening a one-page PDF and filling it with info. How can I limit that amount of memory this uses?

My System

  • OS: CloudLinux 7.9
  • Memory: 8GB (shared hosting with multiple other sites)
  • Typical Free Memory: 1.5GB
  • Hosting Software: WHM/cPanel server (I manage the entire server so have root access)
  • Java: 1.8
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.