Currently generating a PDF of charge sets can cause very high memory usage. This appears to occur primarily when sample names are quite long. One solution may be to switch over to using Prawn as that appears to be a new, popular method for Ruby PDF generation.