Jump to content
We've recently updated our Privacy Statement, available here ×

Jasper Server 5.5 SwapFileVirtualizer NOT delete swap file automatically.


seewseew

Recommended Posts

Jasper Server 5.5, In applicationContext.xml config as below

<bean id="fileVirtualizerFactory" class="com.jaspersoft.jasperserver.api.engine.common.service.impl.SharedVirtualizerStoreFactory">
   <property name="maxSize" value="100"></property>
   <property name="storeFactory">
       <bean class="net.sf.jasperreports.engine.util.SwapFileVirtualizerStoreFactory">
           <property name="directory" value="D:/JSTemp"/>
           <property name="blockSize" value="4096"/>
           <property name="minGrowCount" value="64"/>
        </bean>
    </property>
</bean>
 
After execute rest 2 webservice to generate a report and download the result, the swap files are not deleted as below.
 
SwapFileVirtualizer20141203.png.4e9b2b8876be085a1abd95e52440b0af.png
 
 
How to delete swap files automatically after download the result ?
This problem persist on all OS espectialy linux because linux syste has a limitation for number of files.
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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

×
×
  • Create New...