Coder Social home page Coder Social logo

behaviordection's People

Contributors

gu-youngfeng avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

wsgan001

behaviordection's Issues

OutOfMemoryError: Java heap space

When running the cstar.yongfeng.collect.Launcher to get the metrics of each userZip, an unexpected exception occurs. The stack trace is as follows,

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
	at com.google.gson.internal.LinkedTreeMap.<init>(LinkedTreeMap.java:52)
	at com.google.gson.internal.LinkedTreeMap.<init>(LinkedTreeMap.java:60)
	at com.google.gson.JsonObject.<init>(JsonObject.java:33)
	at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:664)
	at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:659)
	at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:667)
	at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:659)
	at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:667)
	at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:659)
	at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:667)
	at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:642)
	at com.google.gson.internal.Streams.parse(Streams.java:44)
	at cc.kave.commons.utils.io.json.RuntimeTypeAdapterFactory$1.read(RuntimeTypeAdapterFactory.java:239)
	at com.google.gson.TypeAdapter.fromJsonTree(TypeAdapter.java:281)
	at cc.kave.commons.utils.io.json.RuntimeTypeAdapterFactory$1.read(RuntimeTypeAdapterFactory.java:254)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:103)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:196)
	at com.google.gson.TypeAdapter.fromJsonTree(TypeAdapter.java:281)
	at cc.kave.commons.utils.io.json.RuntimeTypeAdapterFactory$1.read(RuntimeTypeAdapterFactory.java:254)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:103)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:196)
	at com.google.gson.TypeAdapter.fromJsonTree(TypeAdapter.java:281)
	at cc.kave.commons.utils.io.json.RuntimeTypeAdapterFactory$1.read(RuntimeTypeAdapterFactory.java:254)
	at com.google.gson.TypeAdapter.fromJsonTree(TypeAdapter.java:281)
	at cc.kave.commons.utils.io.json.RuntimeTypeAdapterFactory$1.read(RuntimeTypeAdapterFactory.java:254)
	at com.google.gson.Gson.fromJson(Gson.java:810)
	at com.google.gson.Gson.fromJson(Gson.java:775)
	at com.google.gson.Gson.fromJson(Gson.java:724)
	at cc.kave.commons.utils.io.json.JsonUtils.fromJson(JsonUtils.java:362)
	at cc.kave.commons.utils.io.json.JsonUtils.fromJson(JsonUtils.java:396)
	at cc.kave.commons.utils.io.ReadingArchive.getNext(ReadingArchive.java:63)
	at cstar.yongfeng.collect.Collector.miningWork(Collector.java:149)

I also noticed that when the userZip's size is much large (Over 50M), the exception is likely to occur, when the userZip's size is much small (Less than 10M), the exception will not be thrown.

Attribute Collection Confusion

After the first round of extracting 20 attribute values from 81 developers in Launcher.java. I found some unexpected results: Some average attribute values are equal to 0. I was wondering whether there were some bugs in extracting Java code, because all of the debugging operations appear at least for one time in CommandEvent.

Inconsistent with [Activate] and [Inactivate]

In the prior view, we just use tag [Action]: Activate/ Deactivate of [WindowEvent] to detect the active time on Visual Studio of developers. But it may introduce bias.

Some event streams of developer do not contain the pairwise Activate and Deactivate events. [1]

[1]: Actually, the event stream should contain the pairwise Activate and Deactivate events.

UserPath Format Error

when running cstar.yongfeng.collect.Laucher, I found that the output **[userZip]**s are in wrong format, such as, maybe the function UserDivition.getUserByKeyWrods(userZip, keywords) needs some fixing work.

[userZip]: C:/MSR18Dataset/Events-170301-2/Events-170301-2/2016-05-09\1.zip
[userZip]: C:/MSR18Dataset/Events-170301-2/Events-170301-2/2016-05-09\10.zip
...

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.