Agile PLM: 获取Agile PLM服务的Heap Dump

Agile PLM 表结构说明 Agile表结构 物料 变更 BOM 阅读详情

文章主题

本文详细介绍如何使用jmap获取Agile PLM运行时的Java Heap Dump信息。


-XX:+HeapDumpOnOutOfMemoryError

强烈建议将-XX:+HeapDumpOnOutOfMemoryError 添加到jvm参数中,确保一旦内存溢出自动产生heap dump log。使用此参数,确保jdk使用的是 1.5.0_17以上版本

  • Oracle Application Server

    编辑OAS_HOME/opmn/conf/opmn.xml,添加红色部分

    <process-type id="home" module-id="OC4J" status="enabled">
    <module-data>
    <category id="start-parameters">
    <data id="java-options" value="-server -XX:+HeapDumpOnOutOfMemoryError …"/>
    <data id="oc4j-options" value="-verbosity 10 -userThreads"/>
    <data id="java-bin" value="d:/jdk1.6.0_17/bin/java"/>
    </category>

    Heap Dump会写到OAS\opmn\bin\java_pid<pid>.<date>.<time>.hprof文件中

  • Oracle Weblogic Server

    修改启动脚本,如startAgile.cmd等

    “/u01/java6/bin/java" –server -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermsize=...

    Heap Dump会写到/u01/java6/bin/java\bin\java_pid<pid>.<date>.<time>.hprof文件中

JMAP

jmap的使用确保服务器运行jdk1.6.0以上的版本,见上述绿色部分

jmap语法

jmap -dump:format=b,file=heapdump.out 

比如

[root@zlinux bin]# ./jmap -dump:format=b,file=heapdump.out 29727 
Attaching to process ID 29727, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 16.2-b04
Dumping heap to heapdump.out ...
Finding object size using Printezis bits and skipping over...
Heap dump file created

Heap Dump会写到指定的heapdump.out文件中

Thread Dump分析Oracle SOA的JDBC连接池资源抢夺问题 问题描述   有一个很特殊的case,使用Agile PLM 9.3产品每隔2~3天,用户无法登录,而已经登录的用户无法继续执行任何操作,用户界面hang住。检查opmn日志,没有有用的信息,错误太杂乱不明确。检查Oracle Database,CPU, Memory,连接都没有任何问题。重新启动SOA,问题临时不会出现,但2~3天后,问题继续。     Oracle环境 Midd 阅读详情

相关推荐

Oracle建立与PLM系统数据库连接

Oracle建立与PLM系统数据库连接,详细介绍设定方式,初学者可以看看。

读取oracle-agile plm 的bom 并 expand

package com.agile.test; /** * Created by IntelliJ IDEA. * User:   * Date: Aug 19, 2008 * Time: 12:45:44 PM * To change this template use File | Settings | File Templates. */import com.agile.px.*;impor...

maxwell 536

解锁笔记智能对话:手把手配置 Obsidian Copilot 插件与硅基流动模型

本文详细介绍了如何为Obsidian笔记软件配置Copilot插件,并接入硅基流动AI模型,从而为个人知识库添加智能对话能力。通过手把手教程,指导用户完成插件安装、API Key获取、模型配置及索引构建,最终实现基于个人笔记内容的深度语义问答,提升知识管理效率。

corn8的博客 616

PLM Agile 随笔

PLM Agile邮件定位参数 //http://plm/Agile/PLMServlet?action=OpenEmailObject&classid=xxxxx&objid=xxxx //邮件通知并定位到流程锚点 IChange change =(IChange) session.getObject(ChangeConstants.CLASS_CHANGE_ORDERS_CLASS, 'xl10125411214'); Object objid = change.getOb

qq_37112100的博客 513

从零上手:基于英飞凌TC377的UDE STK 5.0实战调试指南

本文详细介绍了基于英飞凌TC377芯片和UDE STK 5.0的实战调试指南,涵盖硬件连接、工作空间配置、程序烧录、多核调试等关键步骤。特别针对汽车电子领域常见的多核架构调试难题,提供了断点设置、变量监控等实用技巧,帮助开发者快速上手并优化调试效率。

weixin_30839881的博客 686

Halcon实战:5分钟搞定灰度图转热力图(附完整代码)

本文提供了一份Halcon实战指南,详细讲解如何在5分钟内将灰度图转换为直观的热力图。通过核心代码演示了利用HSV颜色模型进行色彩映射的原理与步骤,包括图像归一化、通道构建与空间转换,并附赠了深度图可视化等进阶应用技巧,帮助工程师快速提升图像分析效果。

weixin_29240343的博客 283

Agile SDK Developing Custom Actions

Developing Custom Actions 开发客户操作 This section describes how to develop custom actions in Java classes.The Agile PLM clients can make direct method calls into these classes to perform the actions. ...

weixin_34192993的博客 205

上、下拉电阻(定义、强弱上拉、常见作用、吸电流、拉电流、灌电流)

1.上、下拉电阻定义 上拉电阻是把一个信号通过一个电阻接到电源(Vcc),下拉电阻是一个信号通过一个电阻接到地(GND)。 2.强上拉、弱上拉 强上拉、弱上拉的强弱只是上拉电阻的阻值不同,没有什么严格区分。例如:50Ω上拉,一般成为强上拉;100kΩ上拉则称为弱上拉。下拉也是一样的。强拉电阻的极端就是0Ω电阻,即将信号线直接与电源或低相连接。 3.上、下拉电阻的作用 因为上下拉电阻的作用概念很宽泛,不用领域的使用方法也不同,常见使用方法整理如下: ...

小浪宝宝的博客 3万+

oracle agile sdk 查询条件设置multilist

今天在 使用Oracle Agile 设置 查询条件的时候一直查询不出来 原因是Agile SDK 在设置 的时候不仅需要文本还需要描述 文本[描述]

郴州软件学习www.javaketang.com 182

别再手动更新Excel了!用Jira看板管理你的个人项目(附保姆级配置流程)

本文详细介绍了如何利用Jira看板替代Excel进行个人项目管理,提供从注册到配置的保姆级教程。通过极简看板模式、自动化规则和数据分析功能,帮助用户实现任务可视化、协作高效化和提醒自动化,大幅提升个人工作效率。特别适合需要管理复杂个人项目的用户。

weixin_42699679的博客 229

推荐11个顶级的Claude Code Skills

ClaudeCode的Skills系统为程序员提供了11个强大的AI辅助工具,包括代码审查、重构建议、单元测试生成、API文档自动生成、性能分析、安全扫描、数据库迁移脚本生成、CI/CD配置、依赖管理、ER图生成和日志分析等功能。这些"技能包"可大幅提升开发效率,从代码质量到协作沟通全方位优化工作流程。用户可根据需求选择2-3个核心功能开始尝试,熟练后还可自定义Skills。该系统需要配合Anthropic的API使用,建议先在小型项目测试再应用于核心业务。

分享AI、区块链技术及应用,未来已来 1859

Installed Agile Classes

The following two tables list all the possible installed objects types in Agile PLM . Classes are grouped being routable or non-routable, which is discussed further on . Also covered in this section:...

weixin_33794672的博客 120

【物联网】基于LORA组网的远程环境监测系统设计(ThingsCloud云平台版)_资料编号34

实现一主多从的LORA组网远程通信,主机和两个从机都配备了STM32F103单片机与 LoRa 模块,主机作为中心设备及WIFI网关,负责接收和发送数据到远程物联网平台和手机APP,两个从机则负责采集数据并通过各自的 LoRa组网将数据发送给主机。

嵌入式阿齐Archie 1万+

IBM AIX平台的通用保护错误Thread Dump案例分析

问题描述 某客户Oracle Agile PLM的集群服务器中的一个节点突然crash掉,在javacore(Thread Dump)中记录了GPF错误。 问题分析 系统环境如下: OS: AIX 5.3 64bit Middleware: Weblogic 10.3.0.0 JDK: IBM JDK pap6460sr5-20090529_04 (SR5) App: A

ZigzagSoft.net 2420

深度学习论文: AnomalyDINO: Boosting Patch-based Few-shot Anomaly Detection with DINOv2

通过将DINOv2模型适应到一次性和少量异常检测中,并专注于工业应用少量异常检测。实验表明,这种方法不仅与现有技术相匹敌,甚至可以在许多设置中超越它们。我们提出的仅视觉方法AnomalyDINO基于补丁相似性,能够实现图像级别的异常预测和像素级别的异常分割。该方法在方法论上很简单,无需训练,因此不需要任何额外的数据进行微调或元学习。

mingo_敏 1907

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

Agile PLM: JavClient无法登录错误 ClassNotFoundException: weblogic.workarea.spi.WorkContextEntryImpl

问题描述 一客户案例,新安装完Agile 9.3.1.2, Weblogic 10.3.6, 服务能启动, WebClient能登录正常使用。而用户却无法登录JavaClient,JavaClient输入用户名后只显示蓝色背景,如下图。 启用Java Console后,出现如下ClassNotFoundException异常。 [SunJDK14ConditionalEventP

ZigzagSoft.net 2389

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Agile PLM: Checksum文件校验在File Server中的应用

本文内容 本文介绍Agile PLM中File Manager文件服务器所使用的checksum校验原理及相关知识。在Agile中如果启用了Checksum功能,我们有时能在下载文件、checkout或者checkin的时候,碰到如下错误,即表示原始文件遭到了外部程序的篡改。 对于文件的checksum校验有非常多的方法,常见的有SHA1, MD5和CRC32。在Agile PLM中,文件

ZigzagSoft.net 1997

文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况

主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

Agile PLM: 无法上传任何文件,错误显“FOLDERXXXX”已存在

问题描述 某客户在进行常规的外部数据导入和数据库重整后,发现所有人都无法上传附件,WebClient界面错误提示:“无法保存您所做的变更。您有一个错误。”。查看文件服务器的日志,没有任何错误。查看Agile服务器日志,提示FOLDER已经存在,详细如下: 分析 查看attachment表,果然此FOLDER0052277已经存在,但注意看创建日期是9月18日。 为什

ZigzagSoft.net 1945

Agile PLM: PPM的甘特图无法编辑Project属性

问题描述 某客户的Agile PLM从早期的9.2版本升级到9.3.1版本之后,发现即使给用户分配了足够的权限,在Project用Gantt Chart打开后,无法编辑任何栏位。 分析 从现象上来看,属于权限分配问题,但即使重新分配权限,问题依旧。因此我们打开Java控制台,重新加载一次甘特图,获取错误如下。 Exception in thread "AWT-EventQueue-

ZigzagSoft.net 1798

Agile PLM: 9.3.0.2中ACS错误:Cannot move to Complete

问题描述 在用户的ACS模块中,由于系统升级9.3.0.2导致ACS出现故障。ATO的历史记录错误显示为“Destination failed during an earlier extraction”,而系统log中却显示"Cannot move to Complete"错误。 分析 查看系统log,找出对应的错误如下。 Caught the following except

ZigzagSoft.net 1540

Agile PLM: 用IIS给分布式文件管理DFM配置HTTP Proxy

出于安全方面和内网外访的考虑,在实施Agile PLM分布式DFM的时候常常要用到IIS给DFM配置Proxy,用来对外屏蔽8080端口而只暴露80或其他特定的端口。本文从客户实际需求出发,简明扼要地用图示的方法讲述了基于HTTP的配置步骤。

ZigzagSoft.net 1539

Agile PLM: 启动时匪夷所思的的Node (18387 , 2490533) does not exist in the cache

问题描述 Agile管理员配置一个Gate SubClass(ID为18401)级别的Page Three属性,ID为2490533,业务操作均无问题。偶然的一次重启服务后出现Node (18387 , 2490533) does not exist in the cache.然而并且2490533并不属于18387。本文从错误提示着手分析,到数据库中数据验证,最后到代码查看,提供了一个完整缜密

ZigzagSoft.net 1516

Agile PLM: 案例分析,9.3.0.2中无法创建创建新的Change

问题描述 用户在使用了ACP做admin数据导入之后,在Web Client上创建某个subclass级别的Change,出现“Unable to save your changes. You have one error.”错误。  检查Server log,没有任何异常。只能通过Java Client的Java控制台输出必要的error,发现如下错误。 java.lang.NullPoi

ZigzagSoft.net 1365

Agile PLM: Folder结构与Query、Report的层次关系

本文内容 Agile PLM中Folder用来保存Query、Report或者一些具体的Object。它的概念和Windows的资源管理器完全相同:文件夹内可以包含子文件夹和文件,子文件夹内可以再包含其他子文件夹。通过用户登录后Agile加载Folder的过程,我们可以了解Folder与Query, Report和其他Object的关系。 用户admin (ID=704)登录后,Agile会首

ZigzagSoft.net 1353

Agile PLM: Agile PLM 9.3.1.2主程序升级失败的一个案例

文章主题 有一客户,9.3.1.2升级database已经成功,当升级Application主程序时,一直报“patch_install_log.properties doesn't exist”错误。 错误提示 错误提示Patch-Installer.xml的482行有个Replace方法的错误。查看该行: patch_install_log.properties在此

ZigzagSoft.net 1312

BOM添加Item的UpdateTable事件与性能分析

问题描述 客户在为BOM添加Item过程中自定义了一个UpdateTable Event事件,该事件需要对新加入的Item修改某些属性值,但发现每次添加一个Item,耗费好几秒才能完成,其中某一次性加入10个Item,共耗时40秒,性能极差。 分析 Agile PLM 9.3版本中为SDK开发引入了Event事件机制,可以让用户对具体的操作进行基于Java或Groovy的自定义的二次开发,大

ZigzagSoft.net 1278
上一篇: Agile PLM: 如何获取Agile PLM服务的Thread Dump
下一篇: Agile PLM: Agile PLM 9.3.1.2主程序升级失败的一个案例
zigzagsoft
博客等级 码龄19年 34粉丝 50原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值