我收到的问题是:私人成员:NameNo_of_days Getit() -to enter the data membersCompute() -To calculate and return the total charges as charges_day * No_of_dayspublic class hotel{
pr
在使用-Xmx1024m -Xms1024m的32位JRockit R 28.2.4-14上运行的WebLogic10.3.5在我们的Java文件的5-8个取消部署-重新部署周期之后总是会出现本机内存不足的情况on a 64 bit OS Decrease number of Java threads
我有一个java.util.Timer,我正在调度TimerTasks,它每24小时在凌晨3:00运行一次,但是5-8天之后,GC消耗了计时器,因为计时器实例不再存在,所以我的所有任务都被取消了。t.schedule(timerTask, date);定时器的定义如下:
public static Timer t = new java.util.Timer