我有一个分布式视频分析系统,它由以下部分组成:
1. feature extraction: generated lots of features(20+) from each frame of the video
2. multiple detectors(in different machine):
* Each of them will get a subset of feature
* Each of them needs the features from multiple frames.
* Eg. Detector 1 needs feature 1-5 from
今天,我通过从.sh下载文件并使用sudo sh filename.sh命令运行Java来安装Java。
但是,我的Linux机器中有几个版本的Java,在使用命令sudo update-alternatives --config java时可以访问这些版本
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
----------------
当我创建一个大小等于Integer.MAX_VALUE的数组时
public static void main(String[] args) {
int[] array = new int[Integer.MAX_VALUE]; // This gives an Error
}
我发现了一个错误:
Exception in thread "main" java.lang.OutOfMemoryError: Requested array size exceeds
VM limit at com.arrays.TimeArray2.main(TimeArray2.