Announcement Announcement Module
Collapse
No announcement yet.
Java VM size problems again Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Java VM size problems again

    hi all experts,

    we are using spring-jdbc library to call a oracle store procedure.

    the resultset is around 700k records, the vm size(which got from window task manager) grows from 2xxmb to 13xxmb. but the javaw size didn't drop after finish of the calling. is it normal or it contains some memory leak??

    here is i enable gc option in vm
    [Full GC 1193256K->25713K(1300672K), 0.4672435 secs]

    here is the partial setting of applicationContext.xml, if use readonly option, will it use less memory??
    <bean id="baseTransactionProxy" class="org.springframework.transaction.interceptor .TransactionProxyFactoryBean" abstract="true">
    <property name="transactionManager" ref="transactionManager"/>
    <property name="transactionAttributes">
    <props>
    <!-- <prop key="*">PROPAGATION_REQUIRED,timeout_300,-IMSException</prop> timeout = 5 minutes -->
    <prop key="ggOrderDataList">PROPAGATION_REQUIRED,timeout _300,readOnly,-IMSException</prop>
    <prop key="get*">PROPAGATION_REQUIRED,timeout_300,-IMSException</prop>
    <prop key="set*">PROPAGATION_REQUIRED,timeout_300,-IMSException</prop>
    <prop key="save*">PROPAGATION_REQUIRED,timeout_300,-IMSException</prop>
    <prop key="create*">PROPAGATION_REQUIRED,timeout_300,-IMSException</prop>
    <prop key="update*">PROPAGATION_REQUIRED,timeout_300,-IMSException</prop>
    <prop key="delete*">PROPAGATION_REQUIRED,timeout_300,-IMSException</prop>
    <prop key="request*">PROPAGATION_REQUIRED,timeout_300,-IMSException</prop>
    <prop key="cancel*">PROPAGATION_REQUIRED,timeout_300,-IMSException</prop>
    </props>
    </property>
    </bean>
Working...
X