Adrian Tarau

Results 16 comments of Adrian Tarau

Meaningful but not mandatory? When I tried to set the ping interval to 0, which the code allows ... nothing worked. Anyway, the goal is not to remove this feature,...

Same here ... I have 320 images in the document ... I need to give above 2G of memory to be able to get the PDF. The size of those...

Memory is full of ByteList, used by RubyString and the content of the byte[], at least for the big ones it does not look like it is storing string (see...

I was able to generate the help file with -Xmx1200M -XX:NewRatio=10 (changed the ratio to have 1G old area) ... but you can see that old and eden was full...

Mystery solved ... switch to JPEG format ... unfortunately. I was able to generate the PDF with 330MB old generation vs 1.1G (and it was never maxed out). The "issue"...

Most of the changes in Prawn PNG class are older than 10 years ... maybe PDF supports PNG better these days?

Well, I hacked the clear cache and threw an exception just like in the original code, but with an attempt to display some info about the mock. It looks like...

+1 to skip constructor check or allow subclasses (or a factory) to pick a constructor. My use case is the following: - I'm using PowerMock + custom annotations - I...

There is no workaround, it's built in. You will not hit this "problem" unless you want to reuse TestCase provided with JUnit. If you scan yourself for annotations, that's not...