Comments (13)
先看看你的 svga 文件在导出时有没有提示『内存占用过大』
from svgaplayer-android.
确实啊,我跑demo用AS自带性能监视器。 发现玫瑰花动画一出来内存占用巨大。内存从30MB到70MB.
from svgaplayer-android.
@protectedMan 你说的动画是指哪个
from svgaplayer-android.
玫瑰动画啊。你demo里的 rose_2.0.0.svga
from svgaplayer-android.
@protectedMan 这个动画是相对复杂的动画,内存占用大是正常的,里面有 188 个元素。
from svgaplayer-android.
400MB内存占用,还有救么。我真不知道怎么优化这内存大小了。。。
from svgaplayer-android.
@protectedMan 没救,你的素材如果是一大堆的透明空白,这是必然的。
from svgaplayer-android.
@protectedMan 我们发现在 AE 转换器上存在一个 BUG,会导致 PSD 矢量素材占用内存问题,正在修复中。
from svgaplayer-android.
@protectedMan 这个问题已经修复了,更新 AE 插件重新导出就可以。
svga/SVGA-AEConverter#11
from svgaplayer-android.
@protectedMan 你们后来怎么优化的 有什么技巧
from svgaplayer-android.
@ruidge 更新 AE 插件就可以解决问题,你遇到了什么问题?
from svgaplayer-android.
@PonyCui 我们需要显示有3d效果的动画, UI做的帧动画, 显示的时候内存飙升. 有什么好方法 或者说制作技巧
from svgaplayer-android.
@ruidge 序列帧是没有办法优化的,SVGA 只支持 2D 动画。
from svgaplayer-android.
Related Issues (20)
- 偶现加载不出来
- Android 12 下内存不释放
- beginning of crash after several loading
- NummpointerException
- 最新版本的setOnLoadCompleteListener不会回调的问题依旧存在 HOT 1
- Android StrictMode policy violation; ~duration=381 ms: android.os.strictmode.DiskReadViolation
- 更新
- Svga库使用RGB_565配置加载Bitmap,导致渲染效果差,和官网效果不一致。
- Svga库使用RGB_565配置加载Bitmap,导致渲染效果差,和官网工具效果不一致。
- Android Studio Dolphin can not preview HOT 5
- 现在这个缓存相关是不是跟文档有出入...
- 鸿蒙Os 2.0系统,内存泄漏严重,clear也不行,内存不回收
- 停止动画后声音无法停止(2.6.1版本) HOT 1
- 您的应用中存在不安全的解压缩模式,可能会导致路径遍历安全漏洞。请参阅这篇 Google 帮助中心文章,了解如何解决此问题。 com.opensource.svgaplayer.SVGAParser.unzip
- 这个跟动画没有关系,是Viewpager回收机制导致的。
- ViewPager切换动画消失
- Demo能不能提供下ViewPager和RecyclerView里svga动画 HOT 1
- The view will stop animation after playing for 1 second but the animation is 3 seconds long using in Jetpack Compose
- 在模拟器上很容易内存溢出,有什么解决方案吗。 HOT 2
- OOM about simulator
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svgaplayer-android.