BarCodeBuilder.getBarCodeImage() leaves temporary files and causes too many files open issue
is there a way to delete these image files after created?
String barcodeText = getBarcodeText(“123456”);
BarCodeBuilder builder = new BarCodeBuilder();
builder.setCodeText(barcodeText);
builder.setAutoSize(true);
builder.setSymbologyType(Symbology.Code128);
builder.getCaptionAbove().setVisible(false);
builder.getCaptionBelow().setVisible(false);
BufferedImage image = builder.getBarCodeImage();
myImg.getImageInfo().setSystemImage(image);
any help would be appreciated … thx
Hi
Hi
thank you for looking into this, I followed your suggestion, but still having the same issue, can you please help:
builder.getOnlyBarCodeImage() leaves temporary files and causes too many files open issue
is there a way to delete these image files after created?
String barcodeText = getBarcodeText(“123456”);
BarCodeBuilder builder = new BarCodeBuilder();
builder.setCodeText(barcodeText);
builder.setAutoSize(true);
builder.setSymbologyType(Symbology.Code128);
builder.getCaptionAbove().setVisible(false);
builder.getCaptionBelow().setVisible(false);
BufferedImage image = builder.getOnlyBarCodeImage();
myImg.getImageInfo().setSystemImage(image);
Hi,
Yes, every getOnlyBarCodeImage call leave a ~tmp file open, the number of files open keeps increasing until we restart the server, which brings down the number of open files, but then it repeats, with every call to getOnlyBarCodeImag(), the incremental occurs.
this Java code is packaged on an EAR file and deployed as web service on Websphere 8 on a UNIX server.
again, we monitor the number of files open, which only increases by this call
Hi
The issues you have found earlier (filed as BARCODJAVA-33443) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.