Code Monkey home page Code Monkey logo

Comments (5)

HelloBush avatar HelloBush commented on July 2, 2024

请问windows jre 这些都要32位的么 因为我看jacob是32位的 但是运行的时候 绑定大漠就报错 而且是native接口里面就报错了。。

你是指java的运行环境jre吧,java需要选择32位版本的,windows的版本随意64/32都可以,没影响的,jacob用的也是32位的dll,这样才能成功调用大漠插件。

from java_mhxydemo.

huihuang-lu avatar huihuang-lu commented on July 2, 2024

嗯 已经解决了.但是你遇见过内存溢出的情况么. GC貌似不会回收jacob创建的对象. 导致长时间运行一定会内存溢出,因为我现在写的是刷新拍卖行抢低价,所以调用大漠次数可能比你的更加频繁,导致加速溢出...

from java_mhxydemo.

HelloBush avatar HelloBush commented on July 2, 2024

嗯 已经解决了.但是你遇见过内存溢出的情况么. GC貌似不会回收jacob创建的对象. 导致长时间运行一定会内存溢出,因为我现在写的是刷新拍卖行抢低价,所以调用大漠次数可能比你的更加频繁,导致加速溢出...

内存溢出的情况我确实还没遇到过,之前了解过一下jacob的内存泄露处理 ,目前我的处理是如下:
Screenshot_20220131_183821

from java_mhxydemo.

huihuang-lu avatar huihuang-lu commented on July 2, 2024

image
因为我大概10ms做一次大漠的找图,所以内存溢出严重,现在临时循环每50秒释放一次jacob的内存,防止释放后再未来及注册的30ms内有jacob请求所以做了线程暂停. 总体来说java+jacob很实用,感谢提供.终于能面向对象开发脚本了.

from java_mhxydemo.

whao189 avatar whao189 commented on July 2, 2024

这个脚本你们测试的时候是梦幻西游的window版本进行账号测试的吗?

from java_mhxydemo.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.